#pedgo-fixtures
1 messages · Page 1 of 1 (latest)
Hey again, @split raven. I've got a couple fixtures that might be interesting to look at:
Scaffolding a SaaS business model: https://gist.github.com/cjavilla-stripe/fdafc2666e634742b4fec2db03b34e72
PaymentIntent succeeds with customer:
https://gist.github.com/cjavilla-stripe/7eff9d512d160763b7189a9d4e95bfc0
Payment action required: https://gist.github.com/cjavilla-stripe/029b13463b0e839205bcdab95bb3dcd4
Can you say what you're hoping to do?
I usually look at the fixtures in the CLI's trigger dir in the repo. https://github.com/stripe/stripe-cli/tree/master/pkg/fixtures/triggers
You can copy the format that each of those follow, and pass to stripe fixtures <your-thing>.json
Sorry for the late answer, I'm in a different time zone. Thanks a lot again man. I really appreciate it.
I'm trying to use it to test our subscription webhooks endpoints (we use them to sync our premium feature authorization with the subscription payment in stripe)
So, I want to send the following events:
customer.subscription.updated
payment_intent.succeeded
``` With a custom costumer.id attached to them.