#Xor07

1 messages · Page 1 of 1 (latest)

autumn echoBOT
whole oyster
#

Hello! Payment Intents can fire all of the Events you mentioned depending on what's going on. In order for a Payment Intent to succeed it must first be created, for example, so when you trigger the succeeded Event you'll get the created Event as well.

#

The requires action Event fires when a Payment Intent requires a next action to continue, like 3D Secure authentication for example.

white cliff
#

Then is there any way to test the succeeded case?

whole oyster
#

Yeah, with the stripe trigger payment_intent.succeeded command you mentioned above.

#

That should create both payment_intent.created and payment_intent.succeeded Events.

white cliff
#

So two request will be made then I didn't receive succeeded event

whole oyster
#

Can you give me the ID of the Payment Intent which was created when you ran that command? Or one of the Event IDs it created (they start with evt_)?

white cliff
#

These are the two ID's I got evt_3N1Z73SEgwCv1wLN0ZUeKMXi and evt_3N1Z73SEgwCv1wLN0IhLMXGJ

whole oyster
#

Oh, okay, so the country your account is in requires authentication for every transaction, so you would need to trigger the succeeded Event by manually going through the payment flow and completing the authentication prompt.

white cliff
#

Ok that's an another issue the 3D page is opening up but i was not prompted to make the payment success or failure

whole oyster
#

What do you see exactly?

white cliff
#

The page popping up and then redirected to the redirected URL

#

@whole oyster you there?

whole oyster
#

Yep, sorry, things are busy. 🙂

#

What page popped up?

white cliff
#

3D secure page this open it's blank

white cliff
whole oyster
#

So that pops up for a moment and then it goes away on its own?

white cliff
#

yep

whole oyster
#

When that happens does the payment succeed?

white cliff
#

Yeah, on the redirected page I made to retrieve the payment status and it's giving suceeded sign

#

@whole oyster I tried to manually make the payment succeed and it works. Thank for the help!

whole oyster
#

Okay, good!

autumn echoBOT