You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I have two payment methods - credit card and bank transfer. Bank transfer means postpay. User pays invoice after order complete. Current code works fine when I choose credit card as payment method. When I choose bank transfer then I cannot submit form due to submit handlers from vzero stop it.
In my project, I have two payment methods - credit card and bank transfer. Bank transfer means postpay. User pays invoice after order complete. Current code works fine when I choose credit card as payment method. When I choose bank transfer then I cannot submit form due to submit handlers from vzero stop it.
I placed this JS
in the file https://github.com/spree-contrib/spree_braintree_vzero/blob/master/app/views/spree/checkout/payment/braintree_vzero/_dropin_on_ready_callback.js.erb
Later in the code I add
This JS call teardown() when user chooses bank transfer payment method. Now user can submit form.
Unfortunately I am not sure is this solution correct.
The text was updated successfully, but these errors were encountered: