#Andres2792
1 messages ยท Page 1 of 1 (latest)
hello! sure you can test this in test mode if you want. The status of the Charge object is still succeeded, but will have a refund
Will I need to wait the 7 days?
I would like to test the webhook integration
But the cli does not have that event
if you want to cancel it earlier, you can cancel the PaymentIntent : https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#cancel-authorization
But is the event triggered? Charge. Expired?
I guess a cancel is different to an expiration or not?
ah, if you want to test for the charge.expired event then cancelling the PaymentIntent earlier wouldn't generate it
i don't have a great solution for you here other than to use a previous charge.expired event and mock that
Yup I want to trigger it
Oh lort, by any chance dont u have a json example of the event body?
I have never triggered one of those b4 so that's why I asked if I would need to wait 7 days
Tought of using the Cli but i found that event can't be triggered from CLI
i can share one example, onesec
Thanks a lot ๐ I'll happily wait
I think this will work for now
So I must wait for 7 days then right?
No workaround to this right?
sadly yeah, afaik