paddel setup new verifier

This commit is contained in:
Mark Gregory
2026-09-09 12:35:34 +01:00
parent 85fcf02fbf
commit 1540be5551
9 changed files with 44 additions and 15 deletions
+7
View File
@@ -62,3 +62,10 @@ Subscribe to at least:
## Important
The API key is required only on the licensing server. Use a sandbox key with the sandbox API URL. Live Paddle products/prices have different IDs and should be configured separately when moving to production.
## Hosted sandbox checkout
The licensing site exposes `/buy`, which initializes Paddle.js with `PADDLE_CLIENT_SIDE_TOKEN` and opens an overlay checkout for the four configured price IDs. Set `PADDLE_ENVIRONMENT=sandbox` while testing and use a `test_...` client-side token. The token is intentionally browser-visible; never use `PADDLE_API_KEY` in frontend code.
After a subscription webhook provisions a licence, the webhook controller makes a best-effort attempt to deliver pending licence keys by email. Delivery failures do not roll back the verified Paddle event; the encrypted outbox remains available for portal resend.