We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So Craft Commerce provides a feature where you can submit cart without payment and later ask for payment on completed order. that no longer works due to this JS change 5.0.4.2...5.0.4.3
As that added this JS code that has 2 issues:
if(json.redirect && json.cart.isCompleted === true) { window.location.href = json.redirect; return; }
json.cart
json.order
isCompleted
return
Suggested solution:
if(json.redirect && typeof(json.cart) !== "undefined" && json.cart.isCompleted === true) { window.location.href = json.redirect; return; }
The text was updated successfully, but these errors were encountered:
PT-2203 Payments after order submited no longer works
Sorry, something went wrong.
The company I work for has also ran into this issue on the 4.x branch.
Unfortunately, this has broken partial payments for our users, forcing us to downgrade.
It would be greatly appreciated if this could be addressed in the next release.
No branches or pull requests
So Craft Commerce provides a feature where you can submit cart without payment and later ask for payment on completed order. that no longer works due to this JS change 5.0.4.2...5.0.4.3
As that added this JS code that has 2 issues:
json.cart
is not a variable on order payment form. itsjson.order
isCompleted
variable is true in that case, it goes toreturn
and thus payment form does not appears.Suggested solution:
The text was updated successfully, but these errors were encountered: