GenericStripeAction
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
To set up stripe webhook handlers for your own project,
- Fork this script val and the corresponding HTTP val
- Create a new webhook in Stripe
- Add your val's HTTP endpoint URL into the Stripe webhook
- Add your TEST_STRIPE_SECRET to your Val Town Env Variables
- Add your webhook's signing secret as STRIPE_WEBHOOK_SECRET to you Val Town Env Variables
Then, just fill in the handlers to handle stripe events!
Migrated from folder: stripeWebhookDemo/genericStripeAction