Let’s get you some solutions. Access our on-demand resources, participate in the Chargebee customer forum, or raise a ticket to talk to our team.
When a Subscription or Customer is created in the Test or Live site, how do I delete it?
If you want to delete subscriptions from your ChargeBee TEST site, you can always use the clear the sandbox data option. This can be done under Settings > Site Settings > Clear Sandbox Data in your ChargeBee admin console. You can clear all the data, just the subscription data or subscription data and all the product configurations.
We do not have the functionality to delete subscriptions via the user interface right now. In case you need subscriptions deleted from your ChargeBee LIVE site, send the subscription details to email@example.com and we will delete them from the back end.
Out of interest, is it possible to access the "Clear the Sandbox Data" feature from the C# API? I am writing integration tests, however given that as time progresses the status of subscriptions ETC are affected it would be idea if the tests could build/populate the Subscriptions for the tests then clean up after themselves once the tests are complete. What is the best way for me to achieve this with ChargeBee?
Right now, we do not support clearing sandbox data via API. Sorry about that! You could delete them through the admin console in just one click. Here's more on this. We will surely update you if we plan to release the API version in the future.