Guest Posted November 21, 2018 Share Posted November 21, 2018 (edited) Hi, I am trying to track down a bug (there is a certain product that always gets appended to the order, even if the user hasn't added it to the cart) and am wondering what is the controller and action that fire when the user is at the last checkout step and, after selecting the payment method, clicks on the button to submit the order. Is Javascript also involved somehow? I see that in core.js there is a Payment.init() call. What is it exactly doing? Thank you. Edited November 21, 2018 by Guest (see edit history) Link to comment Share on other sites More sharing options...
idnovate.com Posted November 22, 2018 Share Posted November 22, 2018 12 hours ago, mad_griffith said: Hi, I am trying to track down a bug (there is a certain product that always gets appended to the order, even if the user hasn't added it to the cart) and am wondering what is the controller and action that fire when the user is at the last checkout step and, after selecting the payment method, clicks on the button to submit the order. Is Javascript also involved somehow? I see that in core.js there is a Payment.init() call. What is it exactly doing? Thank you. Check validateOrder() function from PaymentController. Jose Link to comment Share on other sites More sharing options...
Guest Posted November 22, 2018 Share Posted November 22, 2018 Ok, I think I fixed the issue by simply reuploading the same file (PaymentModule.php). The issue I believe to be due to an update not going smoothly. Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2018 Share Posted November 26, 2018 Hi, I am still trying to track down why I get the same product three times in the final order. I see this error in my logs: Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now