subscriptionChanged, subscriptionCancelled and subscriptionReactivated callbacks on ?

 From the docs:

Code I Am using: 

      const cbPortal = chargebeeInstance.createChargebeePortal();
        let changed = false;{
          subscriptionChanged: (data) => {
            console.log('change fired', data);
          subscriptionCancelled: (data) => {
            console.log('cancelled fired', data);
          subscriptionReactivated: () => {
            console.log('reactivated fired', data);
          close: () => {
            console.log('close fired');

  I have an active subscription, I open the portal, cancel the subscription. UI says that is canceled, after that I close the portal. The only callback that is invoked is close() neither subscriptionChanged neither subscriptionCancelled is invoked. Am I missing something?

2 people like this idea

I tried the same mentioned above and yes, only the close callback is invoked.

Hello Marco, 

Greeting from Chargebee Solutions Team.

Could you please try whitelisting your Chargebee domain under Settings > Configure Chargebee > Checkout & SelfServe portal > Add Domain and then replicate the above scenario?

1 person likes this
Login or Signup to post a comment