Adding check for options.payment