Environment Variables:
All variables configuredWebhook Status:
ConfiguredLegally Required Company Information:
This worker automates invoicing after a successful Stripe charge. It listens for charge.succeeded events via a signed webhook and, if the customer's delivery_mode metadata is pdf_invoice (or unset), emails them a branded PDF invoice.
To manually send an invoice, use the following endpoint:
Customers can access their billing history and download invoices via a unique URL. Use their Stripe Customer ID and append it to the URL:
A scheduled task periodically ensures a Stripe webhook is registered for charge.succeeded against APP_DOMAIN. Webhook signatures are verified against STRIPE_WEBHOOK_SECRET.