Need to extend trial days when the customers add their payment methods during trial period
Problem Statement
You want to extend the trial period (e.g., from 7 to 30 days) when a customer adds a payment method during trial. You need both manual and automated options.
Solution
You can extend the trial when a payment method is added either manually or automatically via webhooks and API.
Steps to Set It Up
Manual
When the customer adds a payment method, open the subscription details page.
Use Edit Trial End Date in the action panel (right side) to extend the trial days.
Automated
Configure a webhook for the payment_source_added event: Settings > Configure Chargebee > Webhooks. See Configure webhooks.
When the event fires (payment added via Hosted pages or API), your system receives the webhook payload.