#Daniele - klarna webhooks
1 messages · Page 1 of 1 (latest)
Thank you for the info. Checking in to that payment
It looks like we sent events about this to your server but our events timed out when trying to reach out https://dashboard.stripe.com/events/evt_3L8AB2I3vmos4cA71Dh1Vz7D
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
any way i can look at the event?
in any case i believe i've provided you a wrong payment intent, that doesn't have klarna
still - shouldn't your webhook system retry attempts?
will find the klarna id now, one moment
Our system did retry the attempts and those timed out as well
Whoops copied the wrong link
how many times are they retried?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
found the klarna one: pi_3L5edNI3vmos4cA71RQH9JNd
We don't have a specific number but we will retry sending an event to you for three days
Thank you checking in to that
it's a connect account, any way you could provide me the direct link? otherwise i'll check on that later
The payment for pi_3L5edNI3vmos4cA71RQH9JNd ultimately failed and it looks like your server did acknowledge the failure event (evt_3L5edNI3vmos4cA71CzhzmO9). Looking in to how you can see these events in the dashboard...
but this is what our client provided us (connected account), the payment on his end seems to be completed and the customer was charged the amount on his bank account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Do you see that reflected in this dashboard page? https://dashboard.stripe.com/acct_165BkSI3vmos4cA7/payments/pi_3L5edNI3vmos4cA71RQH9JNd
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes, that works now
but again, pi_3L5edNI3vmos4cA71RQH9JNd here is shown as succeeded
I do not know why it is showing up differently for me
Checking in to that PI more...
Every way I can view that payment intent it is still showing as incomplete and having a status of requires_payment. Can you try pulling that payment intent with an API call and see if you see that status there?
@gentle lava i believe the issue was that:
payment created, marked as successful and money taken from the customer’s bank account
after they were taken however an additional step was required (klarna 3dsecure?), which couldn’t have been done and thus resulted in that
is that possible?
As far as I can see that payment started in a requires_payment_method state and transitioned to a requires_action state after being confirmed which is expected here. As far as I can see, that payment should not have shown up as "Succeeded" on the Dashboard
Then i'm not really sure how to proceed..
Our connected client sees the payment as succeeded and his customer says that the money were taken from his bank account
Is it possible that that screenshot is of another payment? Could your system have created two payment intents for one of your invoices?
Nope, it's one payment intent for one invoice, the invoice id on the screenshot match with what i've sent here so far
Hello 👋
Taking over here
Give me a moment to catch up, thanks 🙂
The invoice in the screenshot (Digital Good for invoice 9f5bce-6af3142649-4d0ef0 ) traces back to this PaymentIntent
pi_3L5eT4I3vmos4cA70SEaWfyU
https://dashboard.stripe.com/payments/pi_3L5eT4I3vmos4cA70SEaWfyU
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
which is this one
.
.
and lastly
Sorry I'm confused.
Where exactly is it showing pi_3L5edNI3vmos4cA71RQH9JNd succeeded?
here
But those are different PaymentIntents all together
You're asking about https://dashboard.stripe.com/payments/pi_3L5edNI3vmos4cA71RQH9JNd
The one that succeeded is https://dashboard.stripe.com/payments/pi_3L5eT4I3vmos4cA70SEaWfyU
Yes, i’m asking about the klarna one which is shown as succeeded on our client connected account but your colleague said that it was never processed
both PaymentIntent have klarna payment methods
Let's take a step back here
The Payment Intent you're asking about (pi_3L5edNI3vmos4cA71RQH9JNd) did not succeed. It is still in "requires_payment_method" status
https://dashboard.stripe.com/payments/pi_3L5eT4I3vmos4cA70SEaWfyU
Can you summarize your question for me to make sure we're on the same page?
So.
I'm talking about
https://dashboard.stripe.com/connect/accounts/acct_165BkSI3vmos4cA7/payments/pi_3L5edNI3vmos4cA71RQH9JNd, which is pi_3L5edNI3vmos4cA71RQH9JNd
this invoice was previously shown to our client (connected account) as "succeeded" on the stripe dashboard
this one i've just shared is linked to pi_3L5edNI3vmos4cA71RQH9JNd
and my question is
might this be due to https://dashboard.stripe.com/acct_165BkSI3vmos4cA7/events/evt_3L5edNI3vmos4cA712Uyfesm ?
stripe shows it as succeeded, however requires_action is still missing from the customer
customer does not complete requires_action, so payment on stripe turns from succeeded to incomplete
cause this is shown as well, it seems like it was succeeded but then turned into incomplete
So there are two PaymentIntents here for this one invoice that you're referring to ( 9f5bce-6af3142649-4d0ef0)
One succeeded
One failed (and is still pending)
Mh yeah i'm seeing, how can there be multiple payment intents for the same invoice?
I mean sorry, that was more of a question for myself since it's on our code the issues
lol, so basically the error is that we're creating multiple payment intents for the same invoice
Here's the request that created one
https://dashboard.stripe.com/logs/req_EnWukIE8M9aZJK
And this is for the other
https://dashboard.stripe.com/logs/req_JfdVz2qJlmCGGI
could you please check if those other payment intents have klarna as well? are they different in any way?
alright interesting, the other two payment intents seem to be using sofort rather than klarna
The request is coming from Sellix
but going back to your original question, they're probably looking at different PaymentIntents at different times and are getting confused.
So i think i might know what happened here
User paid with klarna, but whilst waiting for your webhook he changed gateway on our website to sofort
So our website changed the payment intent validation to the new pi (incomplete one), when we received the webhook we validated it against the invoice, it was different so we returned a 400 to you
Any way you can think of to improve this logic?
However they are all through sofort, all three payment intents
I'm not super sure to be honest as I don't know your integration very well to make any recommendation