#Xor07
1 messages · Page 1 of 1 (latest)
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.
Then is there any way to test the succeeded case?
Yeah, with the stripe trigger payment_intent.succeeded command you mentioned above.
That should create both payment_intent.created and payment_intent.succeeded Events.
So two request will be made then I didn't receive succeeded event
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_)?
These are the two ID's I got evt_3N1Z73SEgwCv1wLN0ZUeKMXi and evt_3N1Z73SEgwCv1wLN0IhLMXGJ
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.
Ok that's an another issue the 3D page is opening up but i was not prompted to make the payment success or failure
What do you see exactly?
The page popping up and then redirected to the redirected URL
@whole oyster you there?
3D secure page this open it's blank
Yeah I can get it🙂
So that pops up for a moment and then it goes away on its own?
yep
When that happens does the payment succeed?
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!
Okay, good!