Why does Chargebee say a non-recurring add-on cannot be added during trial?
Problem Statement
You see the error "Non-recurring add-on cannot be added now as invoice is not raised immediately" while creating a subscription.
Related Scenarios
- Collecting add-on charges at the beginning or end of the trial period
- Plan add-on grouping
Solution
This error appears during subscription creation if you are trying to add a non-recurring add-on to a plan with a free trial period. Chargebee tries to collect the charge for the non-recurring add-on during subscription creation. However, for a trial plan there is no immediate invoice, so the system cannot process the payment separately.
To avoid this error, use the auto add-on feature.
This feature lets you configure the add-on's applicability to a plan and choose when the add-on charge should be collected.
Configuration steps
Step 1: Go to the plan details page for the required plan.
Step 2: Select the applicable add-on in the Add-ons section.
Step 3: Set the add-on charge to be collected on the event On subscription trial start, as shown in the screenshot below.