#Divya.Shalini
1 messages · Page 1 of 1 (latest)
If the original fixure doesn't have it, you would want to create a fixture yourself: https://stripe.com/docs/cli/fixtures
My main requirement is to test payment_intent.requires_action event
When payment_intent.requires_action webhook event is triggering I need to send mail to associated connect account user
Yes I understand, can you try the fixture approach?
Ok, in this approach do I need to create a json file on the directory location of CLI?
No you can create JSON anywhere, then specify its path via https://stripe.com/docs/cli/fixtures#fixtures-filepath
I am trying it
I was trying to do it, but not got how to do. But got to have below command and it worked
stripe trigger payment_intent.succeeded --override payment_intent:payment_method=pm_card_threeDSecure2Required --add payment_intent:transfer_data.destination=acct_1NSEzEQcPQbLXDzb
Although I have one more thing to ask
When the charge.refunded event will trigger?
After which event it got trigger?
What would be the scenario?
Hi! I'm taking over this thread.
This is mentioned here: https://stripe.com/docs/api/events/types#event_types-charge.refunded
So it happens when you create a refund: https://stripe.com/docs/api/refunds/create
When a customer sends you a payment, you can create a refund to send back the money to the customer.