#bimbo_checkout-klarna
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/1493263600507293787
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is the code $transactionData = [
'reference_id' => $reference_id,
'provider' => 'stripe',
'provider_transaction_id' => $link_response->id,
'amount' => $price,
'currency' => $_SESSION['valuta_banca'] ?? 'EUR',
'status' => 'created',
'payment_method' => $method == 'card' ? 'card' : 'klarna',
'payment_url' => $link_response->url,
'installments' => $installments,
'commission_rate' => $commission_rate,
'commission_amount' => $commission_amount,
];
Hello, looking into this. Is this change happening for you in live mode, test mode or both?
live mode
the account is acct_1R2GNdIuDfihw4zo
the connect is acct_1THeVUIApXipSjgZ
Can you send me the IDs of checkout sessions from before and after this stopped working? Like a session where you did see multiple plans and one where you didn't?
unfortunately this customer is new so I only have the not working ones. let's assume for a moment it never worked. can you help me find what it's missing?
this is a link I created https://checkout.stripe.com/c/pay/cs_live_a1XXjx7yxsLEKsWZRSlnYQnCDVBfedgE2C3JgdDWaWtseCFONqhLSNOp6D#fidnandhYHdWcXxpYCc%2FJ2FgY2RwaXEnKSd2cXdsdWBEZmZqcGtxJz8nZGZmcVo0UU1gU1BMRHVdbHVWb2JfJyknZHVsTmB8Jz8ndW5aaWxzYFowNFc3QkthTHBBY2xtcjF%2Faj03U0xdXVJHfXNhXHx9cH1XYE42QVFLU09IS0xLfXFPPVRRMGxrZG5rSnU8fGdxVzNpY1Vpdk80UXdKVHNkSWNpZ1FVZlBGVDU1M3w0VFU8UVQnKSdjd2poVmB3c2B3Jz9xd3BgKSdnZGZuYndqcGthRmppancnPycmMDcwYzJjJyknaWR8anBxUXx1YCc%2FJ3Zsa2JpYFpscWBoJyknYGtkZ2lgVWlkZmBtamlhYHd2Jz9xd3BgeCUl as you can see Klarna only gives me the option to pay the whole amount
ok maybe Claude found the issue
does it sound coherent to you?
That explanation does not make sense to me, the capability usually determines whether Klarna would show up at all
ok so what could it be?
Still looking. The first thing I checked was that the payment amount qualifies for their other plans and it should qualify for pay later and pay in 3 or 4 according to our docs. So we can rule that out
https://docs.stripe.com/payments/klarna#payment-options
yeah I tried looking for that too but looked fine
please note that I get the same issue even if I create the payment link directly from the stripe dashboard, so it's not only an api problem, the issue looks broader
I may be missing something trivial but I can't understand what
Yep the API and dashboard do the same thing when creating sessions. They don't get treated differently by Stripe.
Still haven't found much, there are restrictions for some countries but not IT. It looks like setting setup_future_usage can restrict the Klarna options but that isn't set on this session.
I'm still not finding much here unfortunately. I think at this point it would be best to write in to our support team. Code-wise it looks like you are doing things correctly which is what I know how to check, the support team can take a deeper look here.
bimbo_checkout-klarna