Why are subscriptions cancelled for 'No Card' despite zero charges?
Related Scenarios
Subscriptions are being cancelled due to 'No Card' even when there are no charges.
Auto Collection is causing cancellations for zero-value subscriptions.
Preventing account deletion without credit card information in API-based integrations.
Solution
When the Auto Collection setting is enabled in Chargebee Billing, subscriptions can be cancelled if there is no card on file, even for zero-value subscriptions. This occurs because the system expects a payment method to be present for any subscription, regardless of the charge amount. To prevent this issue, you can adjust your settings as follows:
Disabling Auto Collection for Zero-Value Subscriptions:
Navigate to Settings > Configure Chargebee > Billing LogIQ.
Under the Auto Collection section, ensure that the setting is adjusted to not require a card for zero-value subscriptions.
Save your changes.
Using API to Manage Subscription Status:
If you are using an API-based integration, ensure your API calls do not trigger cancellation for zero-value subscriptions.
Modify your API logic to check for subscription value before enforcing card requirements.
Verifying 'Hide Zero Value Line Items' Setting:
Ensure that the Hide Zero Value Line Items option is correctly configured to prevent unnecessary subscription cancellations.
This setting should be used in conjunction with the Auto Collection adjustment.
Important Notes
Ensure that your billing logic aligns with your business requirements, especially if you offer free trials or zero-value subscriptions.
Regularly review your subscription management settings to avoid unintended cancellations.
Consider implementing additional checks in your API integration to handle edge cases where no card is required.
Always test configuration changes in a sandbox environment before applying them to your live site.