Introducing the Chargebee CLI

What are the types of subscription amendments available with HubSpot Q2C integration?

Scope

  • What is new in Chargebee Actions in HubSpot Q2C?
  • How do I create a subscription in HubSpot using the iFrame?
  • How do I create a subscription via automation in HubSpot?

Summary

Subscription amendments are available in both manual and automated actions for Chargebee within HubSpot. We migrated from the HubSpot legacy integration to the HubSpot Quote-to-Cash (Q2C) integration, and now offer a feature that lets you amend or edit a subscription directly in HubSpot. For subscription amendments in HubSpot, the following is possible:

  1. Automation (upsells only): Use HubSpot fields. After the deal is created, navigate to HubSpot > Select the deal > Chargebee Automation trigger > Create/Edit Subscription.
  2. iFrame (upsells and downsells): Use the Chargebee iFrame inside HubSpot. After the deal is created, navigate to HubSpot > Select the deal > Chargebee Automation trigger > Create Checkout link.

Prerequisites

To tell the integration that a new deal in HubSpot is an amendment case rather than a new subscription case, you need to:

I) Set the deal type to Existing Business

II) Associate the correct Company with the deal

III) Add the Subscription ID to the Chargebee subscription ID custom field in HubSpot

Note:
I. We sunset the HubSpot legacy integration on March 3, 2023, and it is no longer available on the Marketplace.
II. We migrated from HubSpot legacy to the HubSpot Quote to Cash (Q2C) integration, with the release of self-serve flows for customer and subscription sync from Chargebee to HubSpot. This includes all the features that were available in the legacy integration. III. This migration does not impact existing users, and they can continue using the integration as before. For more information, reach out to us here.

Solution

Via automation

Since HubSpot does not support negative values in line items, you cannot create downsells directly using the automation flow, but upsells are supported. After the deal is created, navigate to HubSpot > Select the deal > Chargebee Automation trigger > Create/Edit Subscription.

Step 1: Once you have integrated Chargebee with the HubSpot Quote-to-Cash configuration, confirm that you have followed the preliminary steps before creating subscriptions.

Step 2: To tell the integration that the new deal in HubSpot is an amendment case rather than a new subscription case, follow the steps below:

I Select the options listed below:

  • A. Deal type: Existing Business
  • B. Chargebee Automation Trigger: Create/Edit Subscription, then click Save

II Make sure you have selected the correct Company. Refer to this link for more information.

III Copy the Subscription ID from Chargebee and paste it under the Chargebee Subscription ID and Chargebee External ID fields on the left pane of the deal in HubSpot.

Step 3: Refresh the page. You will then see an additional Actions > Edit Subscription button on the right pane of the deal page.

Step 4: Click Add under Line Items on the right pane of the deal page to edit the subscription.

Then select Create Custom line item to choose add-ons from the relevant product family.

Then choose the add-on line items and click Add.

Then click Update deal amount.

Click Create quote to add the line items and update the deal.

Once the deal status is Success for the added line item, you will see the new line item in both HubSpot and Chargebee.

The added line item in HubSpot.

The added line item in Chargebee.

For the automation case, the Subscription ID is mandatory.

Via iFrame

To update a subscription using the iFrame, select the Chargebee Automation trigger as Create Checkout link. This lets you interact with Chargebee directly and perform actions allowed in Chargebee, including creating checkout links.

Step 1: Once you have integrated Chargebee with the HubSpot Quote-to-Cash configuration, confirm that you have followed the preliminary steps before creating subscriptions.

Step 2: To tell the integration that the new deal in HubSpot is an amendment case rather than a new subscription case, follow the steps below:

I Select the options listed below:

A. Deal type as Existing Business

B. Chargebee Automation Trigger as Create checkout link and click Save.

Then refresh the page. You will then see an additional Actions button on the right pane of the deal page.

II Make sure you have selected the correct Company name. Refer to this link for more information.

Step 3: Refresh the page again. You will then see an additional Actions > Edit Subscription option on the right pane to create a subscription.

Step 4: To access the Chargebee iFrame, enter the Access Key, then click Proceed.

Then you will see all active subscriptions associated with the company. If there are multiple subscriptions, all of them are listed on this page.

Select the specific subscription and click Proceed. You will be directed to the Chargebee edit-subscription page. In this section, you can upsell or downsell the plan and add recurring add-ons, charges, coupons, coupon codes, and manual discounts.

You can also change the Billing Cycle, Subscription option, and Invoicing option. After editing, click Update to update the items in the HubSpot deal, or click Get Checkout Link to share the checkout link with customers.

For the iFrame manual method, the Subscription ID is not mandatory but is helpful. If an ID is not provided, the integration lists all subscriptions associated with the company in the iFrame so you can choose which subscription to edit.

List of scenarios covered in the automation

Updates to line items

  • Support quantity updates for one item
  • Support quantity updates for multiple items

Quantity can be added only if it is a per-unit plan or per-unit add-on. For other pricing models, subscription quantity cannot be updated and an appropriate error notification is displayed.

Adding new line items

  • Support the addition of new add-ons or charges

Replacing existing plans and/or adding new items to line items

  • Support plan replacement
  • Support plan replacement and addition of new add-ons or charges

Replace plans / update existing quantity

  • Support plan replacement and quantity updates for existing add-ons or charges

Manual discounting (overrides)

  • Support manual discounts for the replaced plan or the new add-ons or charges. These discounts are applied only to that specific line item.

Interaction with dates

  • Support start-date amendment on a plan for future subscriptions only
  • Support subscription change schedules on the same date for single or multiple new items
  • Support subscription change schedules on the same date for single or multiple existing items, as long as there is a quantity and discount update. Extra quantity alone will be active on that future date.

Subscription amendments are possible only on new deals. Edits made in Chargebee will not create new deals in HubSpot.