bunny-customer-portal
Hosted Bunny Customer Portal — three embedding variants for non-React apps (or when you prefer hosted over embedded). Covers the popup portal (via the https://cdn.bunny.com/v1/bunny.js SDK with new Bunny(subdomain, token).popup({page})), the standalone redirect portal at https://<subdomain>.bunny.com/portal?token=<token> with deep links to /portal/subscriptions, /portal/transactions, /portal/payment-method, and the hosted signup page at https://<subdomain>.bunny.com/portal/signup with pre-selectable priceListCode, returnUrl, couponCode, and prefilled customer fields. Also covers generating portal session tokens server-side via portalSessionCreate and the separate signup:read / signup:write token scopes the signup page requires. Use when embedding billing UI without using the React components, or when the simplest integration is a redirect.
Pinned to revision ed962fe0b797, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.