#ursus0055_payment-method-types
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/1338557507026681866
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Klarna is only valid in a specific set of circumstances. Do you have example Payment Intents where Klarna was not visible but you expected it to be?
e.g. this payment intent pi_3Qji6PAHjnjSi7Kd03M8Jqmh
we usually have card and klarna. here it seems we have card and google pay, strange
In it, the payment method types has been specified as
payment_method_types: {
0: "card",
},
So your code is telling Stripe that only cards are accepted
that's strange because it's hardcode this way
payment_method_types: ['card', 'klarna'],
That's not what your code sent to the API
is it possible to force klarna for this pi?
You can update the Payment Intent and specify both "card', "klarna" for the payment_method_types parameter
yes, sorry, you're right. it's hardcoded but only since a couple of weeks. the old payment intents are only card. sorry for wasting your time
No problem, that's why we're here.