#pilly_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1495883263321964644
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
as an extreme example, i'm calling
mode: 'payment',
amount: 3000000,
currency: 'gbp',
})```
klarna is showing, but this amount exceeds the max klarna amount
Hello
So my understanding is that PaymentElement should filter payment method types based on that. Let me check what's going on.
not sure if its just a test mode thing and they all show by default
regardless of amount
It could be a test mode/sandbox thing yeah
Trying to reproduce this but I'm not even getting Klarna to show up
looking more
๐ changing of the guard, taking a look here. My understanding is the same as hanzo that this would be filtered but might be overlooking something.
Appreciate the patience had to do a bit of digging. Looks like unlike Affirm and Afterpay, Stripe does not enforce a hard transaction limit for Klarna in our APIs, because the transaction limit varies by payment option and customer country, and the min/max rules are subject to change by Klarna. The limits mentioned in our Docs are the standard limits but theoretically different limits could be negotiated with Klarna themselves.
It looks like even with a non-deferred intent the behavior is the same.
So generally, transaction limits would be expected to filter out a Payment Method Type, Klarna appears to be an exception to that rule.
ok thanks for confirming
what happens if the user clicks klarna and the amount is too high/klarna kicks up a fuss?
Essentially they would get an opaque decline from Klarna while going through the Klarna flow.