pwa-studio icon indicating copy to clipboard operation
pwa-studio copied to clipboard

[bug]: Payment method always reverts to “Check / Money order” when there is an error with the transaction

Open fdussaultAbsolunet opened this issue 2 years ago • 3 comments

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:

  1. Activate multiple payment methods, like check money order and braintree
  2. Get a product in your cart and proceed to checkout
  3. Fill the Shipping Information and Shipping Method forms
  4. Select "Credit Card"
  5. 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

image

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

fdussaultAbsolunet avatar Sep 01 '22 14:09 fdussaultAbsolunet

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


m2-assistant[bot] avatar Sep 01 '22 14:09 m2-assistant[bot]

@adobe export issue to JIRA project PWA as Bug

anthoula avatar Sep 06 '22 15:09 anthoula

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-2985 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Sep 06 '22 15:09 github-jira-sync-bot