pwa-studio
pwa-studio copied to clipboard
[bug]: Payment method always reverts to “Check / Money order” when there is an error with the transaction
Describe the bug
The payment method always reverts to “Check / Money order” when there is an error with the transaction in PWA Studio, even if Credit Card mode was previously selected.
To reproduce
Steps to reproduce the behavior:
- Activate multiple payment methods, like check money order and braintree
- Get a product in your cart and proceed to checkout
- Fill the Shipping Information and Shipping Method forms
- Select "Credit Card"
- Manually refresh the browser page (as a failing payment would do)
Expected behavior
When there is a transaction failure, the page is refreshing but the selected payment method should remain to Credit Card rather than selecting back the first available method in the list (since credit is also available).
Screenshots
Please let us know what packages this bug is in regards to:
- [ ]
venia-concept
- [ ]
venia-ui
- [ ]
pwa-buildpack
- [x]
peregrine
- [ ]
pwa-devdocs
- [ ]
upward-js
- [ ]
upward-spec
- [ ]
create-pwa
Hi @fdussaultAbsolunet. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@adobe export issue to JIRA project PWA as Bug
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-2985 is successfully created for this GitHub issue.