Process payments and manage subscriptions with Paddle
.env.local
file:
config.ts
file, update the configuration using the product and price IDs you created in Paddle:
ButtonCheckout
component:
https://yourdomain.com/api/paddle/webhook
subscription.activated
, subscription.cancelled
, payment.succeeded
).env.local
file: PADDLE_NOTIFICATION_WEBHOOK_SECRET
PADDLE_SANDBOX=true
in your .env.local
fileCheckout button not displaying or not working
Webhook not receiving events
PADDLE_NOTIFICATION_WEBHOOK_SECRET
correctly set?Subscription status not updating
PADDLE_SANDBOX=false