#armaan-klarna
1 messages · Page 1 of 1 (latest)
Hey there! Can you share the request ID where you hit the error?
Are you setting payment method types on your PaymentIntent or using automatic payment methods?
Got it yeah that is the issue. If you are setting the types manually then you do have to ensure those types are supported by the currency. If you use automatic payment methods then only the ones that satisfy the requirements and are enabled will show.
Oh wow ok. So I have to be sure that Klarna is an available offering before I can add that to the payment methods
I followed the rules here pretty closely https://stripe.com/docs/payments/klarna#payment-options but I don't think it covered this scenario
Is there an easy way for me to assess given customer location, product currency + price, and merchant country whether Klarna is supported?
Or more specifically * - what was the issue in this scenario that led to the failure? Was it that merchant countries in the UK only support purchases in GPB?
Yeah this failed because it is a UK account so only one of the GBP or different EU currencies is supported.
You don't have to know the customer's location in order to create the PI. But Klarna will only show as an option if the customer's location does match the currency.
As in... the PI creation won't fail if you use Eur but it is a UK customer... then Klarna just won't show.
This one failed because Klarna will never be supported with USD presentment for a UK account
Ah that helps clarify. So PI will create regardless of the customer and PaymentElement wont show Klarna if not relevant for the customer.
However, we do need to verify and prevent Klarna from being added to payment method types in the scenario where the product currency does not match the stripe account default currency? Would that be accurate as a general rule?
^ I'm trying to make sure I understand the underlying concept/generalizable rule so that I implement this correctly
Yes that would be one way to do it. Though you also want to make sure it is a country where Klarna is supported as well (basically US, UK, EU).
I'd recommend writing up tests for each different country you are going to support and the currency you are planning on using and the payment method types you want. Or, I would recommend switching to automatic payment methods and letting us handle this for you.
I'd love to use automatic payment methods to have this handled, but we don't want any other payment method to be available besides card, gpay, apple pay, and klarna and my understanding is that more options will be available if we turn that on
We are supporting pretty much any country that Stripe supports so that list might get long. Sounds like my logic needs to be:
- make sure that Klarna supports the merchant country
- make sure that the default currency of the merchant is the same as the product currency
Did I get that right?
Are you creating your Connected Accounts?
You are using Standard right?
If you have platform controls (you are creating them), then you control which payment methods are available at all.
So you can limit to the ones you want.
Ahh yes I see what you're saying. Yes Standard Connect accounts -- I'll take a closer look at the payment method controls
Thank you for this! Super super helpful and will reduce some ongoing headache 🙌