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
When the transaction is denied by Klarna, the shopper is redirected to the checkout page but no error message is displayed.
This could be happening for Afterpay and Affirm too.
To Reproduce
Steps to reproduce the behavior:
Check out the branch add/klarna-payment-method
Make sure the currency store is USD, the Legacy checkout experience is disabled, and that Klarna is enabled
Ensure a page using the block checkout is selected as the default checkout page in WooCommerce, under Page setup > Checkout page, at /wp-admin/admin.php?page=wc-settings&tab=advanced
As a shopper, add a product to the cart, and go to the checkout page
In Klarna, log in with the following email address or phone number to get your transaction denied customer+denied@email.us or +13106354386
Select Pay now and continue. You'll get a "Sorry, we couldn't approve this purchase" error
Select Pay in 4 and continue. You'll get another error message
Click on "Return to checkout"
Notice that you go back to the store, but no error message is displayed. On the Stripe logs, you'll see the following entries
Error when processing payment: Customer was declined by Klarna
Error: We're not able to process this payment. Please try again later.
Expected behavior
The shopper must have a user-friendly message when returning to the checkout page.
The text was updated successfully, but these errors were encountered:
wjrosa
changed the title
[BNPL] Klarna - No error message is displayed on the block checkout when the transaction is denied
[BNPL] Klarna / Affirm - No error message is displayed on the block checkout when the transaction is denied
Apr 25, 2024
Describe the bug
When the transaction is denied by Klarna, the shopper is redirected to the checkout page but no error message is displayed.
This could be happening for Afterpay and Affirm too.
To Reproduce
Steps to reproduce the behavior:
add/klarna-payment-method
/wp-admin/admin.php?page=wc-settings&tab=advanced
customer+denied@email.us
or+13106354386
Expected behavior
The shopper must have a user-friendly message when returning to the checkout page.
The text was updated successfully, but these errors were encountered: