Is it possible to create a subscription in the Canceled state?

Modified on: Mon, 14 Aug, 2023 at 10:40 PM

Though you can create subscriptions in Trial, Active and Future states, it is not possible to create a subscription in the Canceled state.

However, below are a few work-arounds to have a canceled subscription in Chargebee:

1. Have Dunning setup such that it cancels the subscription at the first failed attempt to collect payment. Screenshot of the dunning setup is below for your reference:

Dunning V1:

Dunning V2:

Have auto collection for the customer ON with no card on file for the subscription. Below is a screenshot:

 

Change the next billing date on the subscription to ‘Now’ using the ‘Change Next Billing’ option on the right panel of the subscription details page. This way, the attempt to collect payment fails as there is no card and the subscription gets canceled.

2. Use the ‘Cancel subscription’ option on the right panel within the subscription details page to manually cancel the subscription via the web interface.

3. Use the Cancel a Subscription API call to cancel the subscription.

4. Make use of the 'Import Subscription' bulk operation wherein you could set subscription[status] value as ‘canceled’ so that the subscription is imported into Chargebee in the Canceled state.

Here’s a detailed overview of subscription cancellations in Chargebee.



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Yes, it is possible to create subscriptions in the cancelled state using Bulk Operation. The steps are as follows.


  • Go to Settings >> Bulk operations >> Bulk Operations >> Import Subcriptions >> and Download Sample CSV file.
  • Open the File and create fill in the values in the respective header fields. 
  • In the subscription[status] field specify the value as cancelled 
  • Save the file and upload it back to Chargebee.
  • Make the necessary changes and complete the operation.




You have successfully created a cancelled subscription.

Note:

  1. All date/time values filled should be in the yyyy-mm-dd hh:mm:ss format
  2. The details pertaining to time in the CSV file should follow the same time zone as your Chargebee site.
  3. The column headers in the CSV should not be edited as the system will look for these fields during data validation and editing them will generate errors.
  4. When opening the sample CSV file using applications such as MS Excel or OpenOffice Calc, the column type used should be "Text". So ensure that the column data type remains "Text". Changing the column type could possibly affect data in columns with numbers such as dates, IDs, address, and phone numbers.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×