Create an account
API keys
Get the the publishable key, and the signing secret in the developper section of your Stripe account.Set the variable VUE_APP_STRIPE_PUBLISHABLE_KEY
Set the variable STRIPE_WEBHOOK_SIGNING_SECRET
Create a Webhook
Create a new webhook in Stripe so as to get events change in your database. Add the API Endpoint URL or the Hookdeck URL.Hookdeck URL:
https://events.hookdeck.com/e/src_UUNaLSSAbmpS/stripe
or
API Endpoint URL:
https://btmgtxdqngmfakejvarv.functions.supabase.co/api/stripe
https://events.hookdeck.com/e/src_UUNaLSSAbmpS/stripe
or
API Endpoint URL:
https://btmgtxdqngmfakejvarv.functions.supabase.co/api/stripe
Stripe Events
- checkout.session.completed
- customer.created
- customer.deleted
- customer.source.created
- customer.source.deleted
- customer.source.expiring
- customer.source.updated
- customer.subscription.created
- customer.subscription.deleted
- customer.subscription.updated
- invoice.created
- invoice.deleted
- invoice.paid
- price.created
- price.deleted
- price.updated
- product.created
- product.deleted
- product.updated

Pricing Table
Set the variable VUE_APP_STRIPE_PRICING_TABLE
