This PR adds a specific error message when it is not possible to successfully authenticate a 3DS card during a purchase on the shortcode checkout page.
Currently, we are throwing the generic error message: "Unable to process this payment, please try again or use alternative method.". With this change, we will display "We are unable to authenticate your payment method. Please choose a different payment method and try again." instead.
Testing instructions
Checkout and build this branch on your development environment (fix/failed-authentication-message-on-shortcode-checkout)
As a merchant, create a shortcode checkout page
As a shopper, add a product to your cart
Go to the shortcode checkout page
Attempt to purchase using the card 4000002500003155
In the new modal window that shows up, click "Fail"
Confirm that you can see the new error message:
[x] Covered with tests (or have a good reason not to test in description ☝️)
[x] Added changelog entry in bothchangelog.txt and readme.txt (or does not apply)
Fixes #3258
Changes proposed in this Pull Request:
This PR adds a specific error message when it is not possible to successfully authenticate a 3DS card during a purchase on the shortcode checkout page.
Currently, we are throwing the generic error message: "Unable to process this payment, please try again or use alternative method.". With this change, we will display "We are unable to authenticate your payment method. Please choose a different payment method and try again." instead.
Testing instructions
fix/failed-authentication-message-on-shortcode-checkout
)4000002500003155
changelog.txt
andreadme.txt
(or does not apply)Post merge