Chargebee subscription cancelled notifications on your phone.
Get a push notification when a Chargebee subscription ends, with your cancellation reason code or the reason Chargebee cancelled it.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Chargebee
Add it as a webhook for subscription_cancelled.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Chargebee subscription_cancelled webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In Chargebee, go to Settings > Configure Chargebee > API Keys and Webhooks, open the Webhooks tab and click Add Webhook.
- Paste your webhook URL as the Webhook URL (add ?site=your-site for dashboard buttons).https://••••••••/•••••••• your personal URL, shown after install
- Under Events to Send, pick only subscription_cancelled and save the webhook.
- Under **Events to Send**, pick only `subscription_cancelled` (Chargebee selects All Events by default). It fires when the subscription actually ends. A cancellation scheduled for the end of the term sends `subscription_cancellation_scheduled` first, which this recipe ignores, so you get one push when it ends.
- **Dashboard button:** Chargebee events don't include your site's name, so add it to the webhook URL to get a button that opens the subscription in Chargebee. Use the part before `.chargebee.com` in your dashboard address (test sites usually end in `-test`):
- ```
- your webhook URL?site=your-site
- ```
- Without `?site=` the push arrives without a button.
- Built for API version **v2** events. Chargebee's **Test Webhook** button sends a sample of the event you pick, which should give a normal push.
- Chargebee doesn't sign webhooks. It can send a username and password (basic authentication), but JustPush doesn't check them yet, so you can leave that off. Keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Chargebee subscription_cancelled webhook
This is what Chargebee sends to your URL for subscription_cancelled. It is a sample, trimmed to the fields recipes use.
Chargebee subscription cancelled notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Chargebee and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Chargebee on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.