Subscription preview not visible when creating a subscription via HubSpot Quote-to-Cash
Problem Statement
When you create a subscription from a HubSpot deal in the Quote-to-Cash workflow, the subscription preview does not appear. The preview shows the line items, charges, and taxes.
The preview appears after you select a plan or when a plan is prepopulated for a product family.
Related Scenarios
This issue may occur in the following situations:
-
The plan is prepopulated automatically based on the selected product family.
-
A discount with a value of 0% is applied in the HubSpot deal.
-
The subscription is being created through the HubSpot Quote-to-Cash integration flow.
In these cases, the subscription preview may not appear even though a plan is attached to the deal.
Solution
In Chargebee, 0 is not a valid discount input.
When a 0% discount is configured in HubSpot or prepopulated from the product family, the subscription preview may fail to render.
To restore the preview:
- Remove any 0% discounts applied to line items.
- If no discount is applicable, leave the discount field blank.
- Re-add the product without a discount and attempt to create the subscription again.
After you correct the discount, the subscription preview shows the pricing breakdown and the calculated taxes.
Configuration steps
Step 1: Verify product line items in HubSpot
- Open the HubSpot deal where the subscription is being created.
- Review the Products section.
- Check each line item for a 0% discount. If found, proceed to Step 2.
Step 2: Remove or correct invalid discount values
- Edit the affected product line item.
- Remove the discount if it is set to 0%.
- Save the changes.
Step 3: Re-add the product if necessary
- If the product was prepopulated with a 0% discount, remove it from the deal.
- Add the product again from the catalog without selecting any discount.
- Click Create Subscription from the HubSpot deal page.
- Verify that the subscription preview appears with the correct pricing breakdown.