Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Klarna] Improve messaging when returning to the block checkout on failure #3085

Open
Tracked by #3003
a-danae opened this issue Apr 22, 2024 · 1 comment
Open
Tracked by #3003
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement / Feature Request

Comments

@a-danae
Copy link
Contributor

a-danae commented Apr 22, 2024

Describe the bug

When the order amount is too high for Klarna to be processed, no error message is displayed on the Block checkout page when returning to the store.

This may be happening for other APMs that use redirection.

To Reproduce
Steps to reproduce the behavior:

  1. On the WooCommerce settings page, set a page using the block checkout as the main Checkout one, at wp-admin/admin.php?page=wc-settings&tab=advanced
  2. Publish a product that costs USD 10.000
  3. Enable Klarna, under the Stripe settings page at wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods
  4. As a shopper, add this product to the cart and go to the checkout page
  5. Select Klarna and place the order
  6. On the Klarna site, you'll see an error stating you can't use Klarna for this order. Click on the main button to go back to the store
  7. When you're back on the store, notice no error message is displayed
GsqHR0.mov

Expected behavior
As a shopper, I'd expect to see a message on the store when I'm taken back to it after a failed payment attempt.

@a-danae a-danae added priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement / Feature Request labels Apr 22, 2024
@wjrosa
Copy link
Contributor

wjrosa commented May 2, 2024

I think this is related to #3060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: enhancement The issue is a request for an enhancement / Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants