#Hugues
1 messages · Page 1 of 1 (latest)
Here is the fixture definition for invoice.paid event
https://github.com/stripe/stripe-cli/blob/master/pkg/fixtures/triggers/invoice.paid.json
You can only override the params shown here
I've seen that fixture. I'm just looking for an example on how to trigger that event for a specific invoice.
Right so that isn't somethng you can override because the invoice ID is not one of the parameters
If you want to trigger an invoice.paid event for a specific invoice for testing purposes I recommend you just pay that invoice via the API
Any example using custom fixtures?
You can write your own fixtures and use those files to define a custom event (or series of events) if you want. But no we don't have a pre-made example showing custom fixtures. https://stripe.com/docs/cli/fixtures
Thanks