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
Assuming some user is paying with store credits, if the application crashes during processing payments, the order has some unexpected behavior after the application restarts.
Unexpected Behavior 1
If the user resumes checkout by going to /checkout, he cannot proceed and spree prompts "no payment found".
Unexpected Behavior 2
If the user adds another item to cart and click checkout, his credit won't be deducted for the initial item.
Possible Cause
After crash, the initial checkout's payment won't be re-processed.
Thus for [Unexpected Behavior 1], there is no payment to process. For [Unexpected behavior 2] only payment for newly added item will be processed.
Steps to Reproduce
We can use the following code which adds a exit to simulate a application crash: project-concerto@144b35f
Your Environment
Version used: master
Gemfile and Gemfile.lock as text in a Gist: just the provided sandbox application
Any relevant stack traces ("Full trace" preferred): None
The text was updated successfully, but these errors were encountered:
Context
Assuming some user is paying with store credits, if the application crashes during processing payments, the order has some unexpected behavior after the application restarts.
Unexpected Behavior 1
If the user resumes checkout by going to
/checkout
, he cannot proceed and spree prompts "no payment found".Unexpected Behavior 2
If the user adds another item to cart and click checkout, his credit won't be deducted for the initial item.
Possible Cause
After crash, the initial checkout's payment won't be re-processed.
Thus for [Unexpected Behavior 1], there is no payment to process. For [Unexpected behavior 2] only payment for newly added item will be processed.
Steps to Reproduce
We can use the following code which adds a
exit
to simulate a application crash:project-concerto@144b35f
Your Environment
The text was updated successfully, but these errors were encountered: