Subscriptions

Code Snippets related to Subscription API

How to get status of a subscription
Getting status for all subscriptions (limit set as 5).   $all = ChargeBee_Subscription::all(array("limit" => 5)); foreach($all as $entry){...
Wed, 5 Sep, 2018 at 1:36 PM
Passing custom fields to the Create a Subscription API and accessing them in the API response using .NET
Custom fields right now are available only for the Customer object. If you would like to retrieve the custom field data, you can use the Retrieve a Customer...
Sat, 7 Nov, 2015 at 12:53 AM
Retrieve Subscription details on custom thank you page.
This article covers: I am using a custom thank you page in Chargebee and I would like to retrieve subscription details from the thank you page URL. How do...
Tue, 5 Mar, 2019 at 12:11 PM
Limiting duplicate subscriptions via API
This article covers  How to merge customer records with the same email address? How to match several subscriptions that belong to one customer? Summar...
Tue, 23 Jun, 2020 at 2:56 AM