#ian_code
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/1435614527180771368
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
can see "You purchase can not be accepted" on ...playground.klarna.com, with "Close" button.
user can then click close, stay on Klarna, then close webview, and return to payment sheet
๐
Could you please share a recording of the issue you are facing ?
Hi, it's more of a reporting query in Stripe dashboard
user can go through with Klarna, "customer+denied@email.de", see the dialog
"You purchase can not be accepted"
close the dialog
close the webview
when should stripe be updated with the last failure message "Customer was declined by Klarna"
I have the expected error messages here
https://docs.stripe.com/payments/klarna/accept-a-payment?web-or-mobile=mobile&payment-ui=react-native&country=germany#error-messaging
not sure if this is a sandbox limitation?
Sorry, not sure I understand you then.
what you mean by a reporting query in Stripe dashboard?
I seem to be getting back "payment_method_customer_decline", as they have closed the dialog
when would I see "payment_method_provider_decline"
I'm looking at the "last_payment_error" on the payment intent.
so I'm not getting any issue with User behaviour, but looking to understand how we can tell the differentiate between a Klarna decline, vs a user abandoning Klarna checkout?
It should be the failure code indeed, can you share the PaymentIntent Id ?
I have these 2 payment intent ids on a Sandbox account
pi_3SQ5HaRsYYYIoFzK19DowtHT
pi_3SQ59QRsYYYIoFzK0Gzakprs
for email - customer+denied@email.de
I'm not sure if there is any difference between prod & sandbox when a failure occurs
as mentioned I do have a few in prod with "Customer was declined by Klarna", but looking to try to re-produce in Sandbox.
see if all declines are reported.
e.g. in prod, would a decline ever close the dialog?
Or is it always the user closing the webview?
I'm not sure honestly, but you should rely on the failure code as mentioned in the docs
Between this payment_intent pi_3SQ59QRsYYYIoFzK0Gzakprs is still in requires action
the user did see the decline in Klarna "customer+denied@email.de"
but I'm not sure what it returned back to the payment sheet
If you are using PaymentSheet and the user is returned back to it, then the PaymentSheet will display a decline
it didn't in this case, just asked them to use a different card.
is there anyone I can reach out to about how Klarna should work in sandbox vs prod?
In Sandbox we can simulate failure, but I'm affraid that you can't reproduce every decline code for Klarna
There is only one decline email customer+denied@email.de
Not like card for examples, where you have multiple decline test cases
thanks, should I see "customer+denied@email.de" as a decline in Stripe then?