#emng-Webhook
1 messages · Page 1 of 1 (latest)
but those event are generic right?
You can't specify which invoice to fail, the Stripe CLI will create the necessary underlying objects.
can you specify any of the returned data?
You can use the --override flag https://stripe.com/docs/cli/trigger#trigger-override to override the resource
👍
thanks! I was actually able to test what I wanted by using one of the "Declined Payment" test cards
but it's good to know about the --override flag
I see, then I'll suggest you to use the test clock (https://stripe.com/docs/billing/testing/test-clocks)
nice!
- Add the customer to the test clock,
- Create a subscription, and use the test card to setup the payment method for the subscription
- Fast forward the test clock and see if you are getting the
invoice_payment_failedevent
thanks! super helpful