#pedgo-fixtures

1 messages · Page 1 of 1 (latest)

uneven sapphire
#

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

Gist

Stripe CLI fixture for creating value based pricing Stripe test data - value-based-saas-pricing-seed.json

Gist

Fixture for firing payment_intent.succeeded with Customer. - payment_intent.succeeded.with_customer.json

Gist

GitHub Gist: instantly share code, notes, and snippets.

#

Can you say what you're hoping to do?

#

You can copy the format that each of those follow, and pass to stripe fixtures <your-thing>.json

split raven
# uneven sapphire Can you say what you're hoping to do?

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.