Checkout -Store Credits: User is completing order without reviewing it on confirm step in specific scenario
grzeszet opened this issue · 0 comments
Context
Currently users can freely change and edit information on checkout steps. It is possible to go back a step or two and edit information from previous steps. Users are always moved to confirm step before completing an order.
However, in one scenario user is moved straight from payment to order completion page. If user selects a Check on payment, then proceed to confirm step and decide to change his mind and pay with store credits, the order will be placed skipping confirm step.
Current results:
If the user goes back to the Payment step from the Confirm step and covers order.
Expected results:
The user is always taken to the confirmation step before completing an order.
Steps to reproduce
- Login to an account that has store credits or login and add some (add enough to cover an order)
- Add any product to the Cart
- Proceed to the Checkout Payment Step
- Select Check and proceed to Confirm step
- Go back to the Payment step
- Apply store credits
- Notice that order is completed skipping the Confirmation step
Your Environment
Affected version: spee.4.3.0.alpha (ruby 2.7.2; rails 6.0.0)
Configuration:
gem ‘spree’
gem ‘spree_gateway’
gem ‘spree_auth_devise’
gem ‘spree_static_content’
gem ‘spree_related_products’
gem ‘spree_sitemap’
gem ‘spree_analytics_trackers’
gem ‘spree_braintree_vzero’
gem ‘spree_i18n’