I see there is a bug in all the payment method that receives the inputs. Below is the way to replicate the bug
1) Select Any Payment Method that recieves a input example PayPal 2) Enter your card details & click continue. Your will end up in the Order Review Screen 3) Now click back & go to payment screen . Next click continue again. The workflow don’t proceed 4) Keep clicking any number of times.. You go nowhere. That’s the bug
Why This bug is Occurs in the first place Because we call validate function on “checkout:payment:before-transit”. The validate function return true for the first time. All is well then. When you come back to the payment page & click continue again then validate function return false. Hence user is not transited to Order Review Page.
Which Payment Methods have been affected by this bug Almost all payment gateway that uses Jquery Validator has been affected by this bug. I personally opened the code of all the payment gateway that OroCommerce has officially documented & found the following payment methods has been affected.
Thank you for reporting the bug. You are right. jQuery copies the HTML, but not the DOM objects with its state of properties. And to fix it, we need to update values manually in cloned HTML (as you’ve proposed), or set values into attributes of HTML elements before cloning. Either solution should work.
We’ve created the bug ticket for it.
Thanks.
This reply was modified 5 years, 7 months ago by Andrey Yatsenko.
Author
Replies
Viewing 2 replies - 1 through 2 (of 2 total)
The forum ‘OroCommerce’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.