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

charmaine

stripe

Public
Like
stripe
Home
Code
2
README.md
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
3
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
/
Code
/
Search
index.ts
https://charmaine--19e6c204a3a811f0a7f30224a6c84d84.web.val.run
README.md

Val Town Teams Invoice Discord Notifier

Sends Discord notifications when Val Town Teams invoices ($50+) are paid.

Setup

Set these environment variables:

  • STRIPE_SECRET_KEY - Your Stripe secret key
  • STRIPE_WEBHOOK_SECRET - Webhook signing secret from Stripe
  • DISCORD_WEBHOOK_URL - Discord webhook URL

Stripe Webhook

Add this URL to your Stripe webhooks: https://your-val-url.web.val.run

Listen for: invoice.payment_succeeded

What it does

  • Filters invoices ≥ $50 (Val Town Teams)
  • Sends Discord embed with amount, invoice #, and customer
  • Ignores smaller invoices (ie Val Town pro)
HTTP
  • index.ts
    charmaine--19…84.web.val.run
Code
README.md
H
index.ts
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.