Express Adapter
The Chargebee Express adapter provides route handlers for integrating Chargebee Hosted Pages (checkout, payment methods, and customer portal) into Express applications.
Prerequisites
- Express 5 or later
Installation
Features
The adapter provides four route handler factories:
createSubscriptionCheckout— Redirects to a Chargebee subscription checkout pagecreateOneTimeCheckout— Redirects to a one-time charge checkout pagemanagePaymentSources— Redirects to the payment method management pagecreatePortalSession— Redirects to the Chargebee self-service portal
Each factory takes your credentials and returns an Express RequestHandler middleware.