Learn how to set up Creem with ShipThing.
Secret key
and the Publishable key
. You will need the Secret key
for the integration to work.
.env.local
as well as your production environment:
chargebee
object:
/api/chargebee/checkout
endpoint.
apps/web/api/chargebee/checkout/route.ts
.
Subscription Created
Subscription Changed
Subscription Cancelled
POST /webhooks/chargebee
route in the apps/api
app. This route constructs the event and then switches on the event type to determine how to process the event.