question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Klarna doesn't appear inside payment sheet

See original GitHub issue

Hi,

We’re trying to add Klarna to our mobile app, we added it as payment option from the console in test and production, added id inside our nodeJS backend :


    const paymentIntent = await stripe.paymentIntents.create({
      amount: (canPayLater ? totalPrice : arrhes + platformFees) * 100,
      currency: 'eur',
      confirmation_method: 'automatic',
      receipt_email: mail,
      customer: stripeCustomerID,
      shipping: {
        name: 'Jane Doe',
        address: {
          state: 'Texas',
          city: 'Houston',
          line1: '1459  Circle Drive',
          postal_code: '77063',
          country: 'US',
        },
      },
      payment_method_types: ['card', 'klarna'],
    });

Added in the mobile app inside the presentPaymentSheet function :

          const {error: errorSheet} = await presentPaymentSheet({
            clientSecret: client_secret,
            allowsDelayedPaymentMethods: canPayLater,
          });

But Klarna doesn’t appear:

image

Any idea?

Thanks,

Théo

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ag91commented, Jul 11, 2022

in our case it wasn’t showing because:

  1. of a very outdated version of stripe-react-native (< 0.4)
  2. redirectURL wasn’t set
  3. the backend wasn’t adding the right payment_method_types
0reactions
charliecruzan-stripecommented, Jul 11, 2022

Thanks @ag91 ! since we still don’t have a repro/follow up from @minuitagency , I’m going to close this issue for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are not all payment methods available at the checkout?
Klarna does not approve all orders for all our payment options and our aim is to support responsible, ethical, and sensible spending habits....
Read more >
Klarna Checkout does not work after I have integrated
If your integration is not working, start by checking the following: The test mode is switched off; Klarna API credentials are entered in...
Read more >
I received an error message when trying to pay, what can I do?
First, check if your connected card has expired or if it has been blocked or frozen. Log in to the app to update...
Read more >
How can I add, remove or change my card or bank account?
To change the card details · Go to Settings · Select Payment methods · Tap Add card or select a stored card and...
Read more >
Why was my purchase not approved with Klarna?
Klarna does not automatically approve all purchases made. ... solely on credit score, but rather multiple internal data points such as past payment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found