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 payment method unavailable on initial selection #469

Open
scriptology opened this issue Jun 17, 2024 · 0 comments
Open

Klarna payment method unavailable on initial selection #469

scriptology opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scriptology
Copy link

Description

In my attempts to add the Klarna payment method, I encountered a bug: the Klarna payment method becomes available after returning to the billing address and re-selecting the payment method. The error repeats with each new order.

Steps to Reproduce

  1. Create an order via API
  2. Go to the hosted version of the checkout page
  3. Fill in the billing address
  4. Click Continue payment
  5. Select the Klarna payment method (here I get a 422 error due to the missing country code)
  6. Return to the billing address
  7. Click Continue payment again
  8. Select the Klarna payment method (now the payment method is available)

Expected Result

I expect the Klarna payment method to be available immediately after filling in the billing address and clicking Continue payment.

Actual Results

When selecting the Klarna payment method for the first time, I get a 422 error due to the missing country code. The payment method becomes available after returning to the billing address and re-selecting the payment method.

Screenshots

bug-klarna-checkout-page-2.mov

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser: Chrome
  • Version: 125.0.6422.142

Additional context
I would appreciate recommendations on how to bypass this bug without deploying the checkout page on my side.

@scriptology scriptology added the bug Something isn't working label Jun 17, 2024
@scriptology scriptology changed the title Klarna Payment Method Unavailable on Initial Selection Due to Missing Country Code Klarna payment method unavailable on initial selection Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant