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

augustveix

OpticonReminder

Remix of stevekrouse/newStripeSubscriber
Public
Like
OpticonReminder
Home
Code
2
README.md
H
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
7/23/2024
Viewing readonly version of main branch: v4
View latest version
README.md

New Stripe Subscription Handler

This val receives webhooks from Stripe when we get a new subscriber to Val Town pro. The val:

  1. Verifies the signature to make sure it's really from Stripe
  2. Sends a message to our internal Discord channel
  3. Sends a thank you to the new subscriber

If you send a GET request to this val, it responds with the thank you email – for ease of debugging.

Setup

If you want to set up something like this with your String account:

  1. Go to you Stripe Webhooks
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI 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.