#eugene-bakhmetiev_error

1 messages ¡ Page 1 of 1 (latest)

fallen turtleBOT
#

👋 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/1428026226055839744

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

naive jacinth
#

Do you have a screen recording of the issue?

#

Also can you reproduce this in test mode or only live?

cold mirage
#

I don't have a recording unfortunately, only some screenshots. First shows the error in the console and a loader, second and third are the order status in Affirm and Amazon.
This only reproduces on live, because Amazon doesn't offer Affirm as payment method in test mode

naive jacinth
#

Ah so it gets stuck on the amazon hosted page

#

Can you share the payment intent id from that repro?

cold mirage
#

I don't see it in Stripe's dashboard, and our backend did not receive the payment complete webhook, so I don't have any record of it on our side, unfortunately

#

We had a user with a similar problem previously, that had a payment intent captured correctly, but it looks like an abandoned payment that was automatically failed after an hour. I don't know if it will be helpful for this, but here's the payment id of that one: pi_3SFyVRJaf89hC41I05d6NW5J

naive jacinth
#

Do you not create a payment intent up-front?

#

At what point in your integration do you create the payment intent

#

Or are you using checkout sessions

#

The screenshot looks like you use Express Checkout Element which would mean you'd create a payment intent directly

cold mirage
#

We create payment intent after the user clicks 'Confirm', before calling stripe.confirmPayment()

naive jacinth
#

Right yeah so in your repro you should still have a payment intent created

#

In order to have been redirected to amazon

cold mirage
#

Yeah, which is what makes this so weird. I had a call with a team member today where they reproduced the issue, got the screenshots I sent you, but there is no record of the payment in Stripe's dashboard at all in their name

naive jacinth
#

There should still be an incomplete payment intent at the very least

#

With that flow you wouldn't have been able to be redirected without a payment intent

cold mirage
#

Yeah, I understand and agree, but I don't see the payment

naive jacinth
#

Do you have a connect setup and/or multiple accounts?

#

It's hard for me to investigate further without the payment intent facing this issue

cold mirage
#

No, just one account. I will try to reproduce the issue again, and grab the payment intent id from the response and get back to you. Unfortunately, I myself am not based in the US, so I have to rely on other team members to help with testing this, so this might take some time

naive jacinth
#

Gotcha

#

Yeah you should be able to log its id in the browser console

cold mirage
#

Do you have a lot of issues with Amazon / Affirm integration in general? I saw multiple reddit threads about payments not going through, while investigating this issue, but some of them are dated a year back or so, so might be unrelated

naive jacinth
#

I'm not aware of any issue specifically

#

But it's possible there's been a history idk

#

I don't come across amazon pay + affirm very often at all

cold mirage
#

I see. Okay, thanks for the help. I will post in this thread when I get another example, is that okay?

naive jacinth
#

Yes that's fine thank you

#

We do archive threads after some period of inactivity just because we chat with many folks simultaneously

#

But if that has happened you can just open a new thread with the payment intent id

cold mirage
#

Okay, got it. Thanks, have a nice day