updated the plugin options and created the payment flow