• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wolf

wolf

GenericStripeAction

Public
Like
1
GenericStripeAction
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
1/10/2025
README.md

Stripe Webhook Handler

To set up stripe webhook handlers for your own project,

  1. Fork this script val and the corresponding HTTP val
  2. Create a new webhook in Stripe
  3. Add your val's HTTP endpoint URL into the Stripe webhook
  4. Add your TEST_STRIPE_SECRET to your Val Town Env Variables
  5. 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

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.