Docs
You are viewing:
Product Catalog 2.0
What happens when the trial ends if the payment method is not updated?
Summary
There are two scenarios that you need to consider when your trial subscription ends without payment details
If the 'Allow customers to checkout without payment details' (Settings > Configure Chargebee > Checkout & Self Service Portal )is enabled for 'Plans with free trials', the user will be allowed to subscribe trial subscription without payment details and the 'Auto-collection' will be set to 'Off' by default.
The latest version of the checkout pages supports sign-up without entering payment details when there are no 'immediate charges'. To enable this, navigate to Settings > Configure Chargebee > Checkout & Self Service Portal > Allow customers to checkout without payment details.
Sign-up without payment details is not directly supported on the earlier version of the checkout pages. However, you can set this up by building a form on your website to collect the customer's name and email address and create the trial subscription.
Attached is a sample sign up page with the code to create trial subscriptions without a credit card. Similarly, you can build your own form.
In the attachment, if you browse to "trial_signup > chargebee_js > signup.html", you will see a code similar to what I've pasted below.
The changes you need to make for this sample sign up form to work(indicated with arrows above) are:
Your Chargebee site name (only the sub-domain name).
A publishable API key. You can create one under Settings > Configure Chargebee > API keys > Add API Key.
Your trial plan ID. You will find this when you open your trial plan under "Product Catalog".
When creating a publishable API key, please ensure that you check the option "Use From Browser" as shown below:
And also select the option "Publishable API Key".
Show more
Was this article helpful?