#ian_code

1 messages ยท Page 1 of 1 (latest)

stoic mapleBOT
#

๐Ÿ‘‹ 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.

arctic pivot
#

can see "You purchase can not be accepted" on ...playground.klarna.com, with "Close" button.

stoic mapleBOT
arctic pivot
#

user can then click close, stay on Klarna, then close webview, and return to payment sheet

flint plinth
#

๐Ÿ‘‹
Could you please share a recording of the issue you are facing ?

arctic pivot
#

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"

#

not sure if this is a sandbox limitation?

flint plinth
#

Sorry, not sure I understand you then.

#

what you mean by a reporting query in Stripe dashboard?

arctic pivot
#

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?

flint plinth
#

It should be the failure code indeed, can you share the PaymentIntent Id ?

arctic pivot
#

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?

flint plinth
#

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

arctic pivot
#

but I'm not sure what it returned back to the payment sheet

flint plinth
arctic pivot
#

it didn't in this case, just asked them to use a different card.

arctic pivot
#

is there anyone I can reach out to about how Klarna should work in sandbox vs prod?

flint plinth
#

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

stoic mapleBOT
arctic pivot