Please note the code breaks with " if :gateway_specific_options is not given