Getting Started

Building Blocks

Custom Fields

Subscription Features

Localization

Invoices

Credits

Order Management

Billing Features

Taxes

Payment Methods

Direct Debit Payments

Configuring Gateways

Revenue Recovery

Hosted Pages

Notifications

Reports and Analytics

Data Privacy & Security

Fraud Management

Migration

Open Source Resources

Other Features

API Integration

Third Party Integrations

Orders 

Information

All the information on this page is for the latest version of Chargebee Orders. You may be using the legacy version if you enabled Orders in Chargebee before 28th September 2018.

Introduction 

If you are a business that ships physical goods to your customers through subscriptions, Chargebee Orders helps manage your deliveries. For instance, you could benefit from this feature if you are a merchant who sells subscription boxes, magazines, products that need to be replenished on regular intervals or rents devices, charging monthly-recurring amounts and more.

Once you configure Orders, Chargebee automatically generates shipping schedules based on the subscriptions that your customers sign-up for. Shipments in Chargebee are represented by entities called "orders". Each order has all the associated information for the shipment such as the shipping date, status of processing, linked invoice amounts etc. This information can now be used by your fulfillment platform to complete the deliveries. The processing of these orders in Chargebee may be done via the web interface, API  or through a fulfillment platform (such as ShipStation) integrations.

Chargebee Orders helps your business by:

  • Creating orders automatically based on your site settings and plan/addon configuration.
  • Automatically tracking and managing information associated with every shipment via integrations with platforms such as Shipstation and Shopify or via API  and webhooks.
  • Assisting in revenue recognition by allowing you to record the delivery status of goods.
  • Facilitating inventory management by providing information on the quantity of goods to be shipped.
  • Accounting for and managing cancellations, refunds and return of goods by customers.
  • Tailoring your shipping preferences by letting you choose a specific day/date for shipping orders.

Configuration 

Chargebee Orders must be enabled and configured before the automated creation and processing of orders can begin.

Note:
Orders are only generated in Chargebee for paid invoices except for gift subscriptions, for which they're generated only on gift claim.

In this section, we shall see how the configuration is done.

Step 1: Configure Site-wide Settings

Navigate to Settings > Configure Chargebee > Orders to enable Orders. This enables the Orders menu option on the left navigation panel.

Here you can:

  1. Configure order numbering by
    • setting the first order number and
    • optionally setting a prefix for the order numbers in Chargebee.
  2. Set a shipping date setting for your orders as
    • a fixed number of days from the order date or
    • a specific day of the month or week.
  3. Set a shipping cut-off that defines the day of month beyond which if the payment is delayed, the first order is unserviceable. (Choose 31 if you want it to be the last day of the month.)
Note
  1. First order number can only be set once.
  2. Order numbers are created on the order date or on the date when the order is synced to a shipment platform such as Shipstation, whichever is earlier.
  3. Shipping cut-off cannot be set for weekly orders. It is also not applicable for gift subscriptions.
  4. If you use Calendar Billing, please ensure that the calendar billing cut-off, shipping cut-off and shipping date settings are aligned to work properly.

Step 2: Configure Plan and Addon Settings

Once the above settings have been configured, a new section, called Shipping preferences is enabled for plans and addons where you must

  1. set if the plan or addon contains products that are shippable and if so
  2. configure the ship every field to determine how often the products are shipped.

The options available for ship every depend on the billing frequency of the plan/addon. The table below shows which ship every field values are compatible for different billing periods.

SHIPPING
BILLING Yearly Monthly Weekly
Yearly Yes Yes No
Monthly No Yes No
Weekly No No Yes

Note: The ship every field for a plan/addon is not editable as long as a linked order exists.


Scheduling 

Based on the above settings, Chargebee schedules orders automatically for your plans and addons. Once a customer signs-up for a subscription, subject to certain conditions, the schedule of orders is created:

Note
  • All orders that are linked to a customer or subscription are listed near the bottom of the details page of the customer/subscription under the orders tab.
  • Also note that for gift subscriptions, the orders are listed under the gift recipient's customer details page.
  • For invoices/credit notes, the associated orders are listed on the details page under a section titled linked orders.

Statuses and Lifecycle 

Order statuses indicate at what stage a particular order is in its lifecycle.

The following are the various statuses that an order can have in Chargebee:

Order status Description
Queued This is the initial status of orders waiting to be processed. This is typically their state before they have been moved to an integration platform/external fulfillment system.
Awaiting shipment Used to indicate that the orders have been moved to the integration platform/external fulfillment system.
On-hold Indicates that the order processing has been put on hold.
Cancelled Indicates that the order has been cancelled.
Shipped The order is in transit.
Partially delivered The order is only partially delivered.
Delivered The order has been delivered.
Returned The order has been returned after delivery

The state diagram below shows how orders transition between statuses. The arrows show the allowed status changes.

Note:
The green arrows inside the central box only show the typical direction of status change. All order statuses within the box can change between each other without restrictions.

When in cancelled status, an order can only change status (via the re-open order action) to the one immediately before being cancelled.

When in on hold status, an order can change status to:

  • the status before being put on hold or
  • cancelled status

Also, when an on hold order is cancelled and then re-opened, it goes into on hold status. From here, it can still go to the status it was in before being originally put on hold.

Example:
If an awaiting shipment order is put on hold and then cancelled, then on re-opening, it goes into on hold status. From here, it can either go to awaiting shipment again or be cancelled.


Actions 

Depending on what status an order is in, several actions can be performed on orders from the user interface. In the order details page, the actions pane on the right lists the available actions:

  • Edit order details: This action helps you change order details such as status, order date, shipping date etc. The attributes available for editing depend on the status of the order.
  • Update Order Shipping Info: All the shipping related information pertaining to the order can be edited using this action. This includes shipping address, name, email, company etc. Order shipping info can only be changed for orders in the queued status.
  • Refund Order: This action creates a refundable credit note for the order. The amount to create the credit note for and the reason for doing so (from the available list) must be specified.
  • Cancel Order: This action sets the order status as cancelled. A refund amount may be specified for which a refundable credit note will be raised (leave it blank if no credits are being given). Also, you must choose from the available cancellation reasons.
  • Re-open Order: re-opens a cancelled order: sets the order status to the same as that before cancellation. Also, if any unused refundable credit notes with reason code order cancellation exist against the order, an option to void them is made available. If the credit note has been refunded already, then a warning will be shown for it and the order can still be re-opened.

See also:
Impacts of external actions in Chargebee on orders.


Attributes 

Orders have attributes or properties that can be viewed and edited using the web interface. We list them below. If you use our API, then you have access to many more attributes as part of the order resource .

Note: For any given order, unless specified otherwise, the attributes are available and editable in all circumstances. However, an attribute is editable for an order that is on hold or cancelled only if it was editable in the previous status (unless otherwise mentioned for specific attributes).

  1. Order status: This attribute represents the various states that an order can take during its lifecycle in Chargebee.
  2. Order date: The preferred date around which the order is to be processed. This date is automatically determined by Chargebee at the time of invoicing/payment based on the shipping preferences for plans/addons, and the Calendar Billing settings for your site. This date can only be modified for orders in queued status.
  3. Shipping date: The preferred date around which the order is to be shipped. This date is also automatically determined by Chargebee at the time of invoicing/payment and is assigned based on the site settings for orders and the plan and addon settings. This date can only be modified for an order when it is in queued status.
    More about how order dates and shipping dates are calculated is explained here.
  4. Order Id: This is the API Id used to uniquely identify orders in Chargebee. This is assigned to an order as soon as it is created in Chargebee.
  5. Order number: This is a unique document number used to identity an order in Chargebee. It is assigned to orders serially as they are processed in Chargebee (assigned on the order date or on the sync date with the integration platform, whichever is earlier). The format of the order number is based on site settings for this field.
  6. Shipping information: All the shipping related information pertaining to the order. This includes shipping address, name, email, company etc. and can be changed for an order only when it is in the queued state.
  7. Order notes: Notes about the order can be added here. This is part of the order API resource  and can thus be passed to third-party integration platforms. These notes are intended to be internal ones for the reference of fulfillment personnel and are not published to your customers in any way by Chargebee.
  8. Fulfillment status: When you use Chargebee Orders with other order management systems or third-party integration platforms, they may have different status field values for orders than those in Chargebee. This field captures the status field for the order from such an external system. It cannot be captured/updated for orders in queued status.
  9. Tracking Id: The shipment tracking Id. Usually obtained from the order management system or the integration platform. This attribute cannot be captured/edited for orders in queued status.
  10. Batch Id: The shipment batch Id. Usually obtained from the order management system or the integration platform. This attribute cannot be captured/edited for orders in queued status.
  11. Reference Id: This Id is used to hold the unique Id of the order in the external system or integration platform. This attribute cannot be captured/edited for orders in queued status.
  12. Shipment carrier: The shipment carrier details. Usually obtained from the order management system or the integration platform. This attribute cannot be captured/edited for orders in queued status.
  13. Shipped at: Used to capture the date and time the order was actually shipped. This field is available for capture and update for orders with the following statuses: shipped, partially delivered, delivered, and returned. If an order moves out of those statuses, the shipped at data is deleted (except when moved to cancelled or on hold statuses). Also, shipped at cannot be edited for orders that are cancelled or on hold.
  14. Delivered at: Captures the date and time the order was delivered. This date is available for capture and update for orders with the following statuses: partially delivered, delivered and returned. If an order moves out of those statuses, the delivered at data is deleted (except when moved to cancelled or on hold statuses). Also, delivered at cannot be edited for orders that are cancelled or on **hold.
  15. Cancellation reason: For cancelled orders, this field specifies the reason for order cancellation. Thus, the field is applicable only for cancelled orders and gets deleted if the order is reopened. If system generated, it cannot be changed manually. The table below lists the possible cancellation reason field values.
Cancellation Reason Can be manually chosen Can be system generated
Shipping cut off passed No Yes
Product unsatisfactory Yes No
3rd-party cancellation Yes No
Product not available Yes No
Product not required Yes No
Delivery date issue Yes No
Fraudulent transaction Yes No
Payment declined Yes No
Other better alternatives Yes No
Invoice voided No Yes
Invoice written-off Yes Yes
Subscription cancelled Yes No
Others Yes No

Events & Webhooks 

Events  in Chargebee also include order-related events . You can configure webhooks to notify your application of such events.


Legacy Version of Orders 

If you have been a user of Chargebee Orders from before 28th September 2018, then you have been using the legacy version. In such a case, although we encourage you to use the latest system, there are some things to be considered:

Once the latest system is enabled, any new invoices created would be subject to the latest system only. Hence, if you are an API user of the legacy system, you would have to contact support@chargebee.com  to enable the latest system.

Note

Any orders created using the legacy system can continue to be processed using that system.


FAQ 

Our business involves shipping a product to the customer and then charging a rental on it every month. How is this configured in Chargebee?

You can create a monthly non-shippable plan in Chargebee for charging the rental. For the shipped item itself, a non-recurring shippable addon may be created and attached to the subscription.


How do I add shipping charges to orders?

Shipping charges are not available as a separate line-item in Chargebee yet. However, you can include shipping charges by creating addons for them in Chargebee and marking them as shippable so that they are included in the orders.


We only ship products to our customers during a certain time of the month (or particular day of the month). How can this be setup?

Consider selling a 6-month subscription for monthly magazine issues for which you wish to bill your customers on the 25th of the month and ship issues on the 10th, every month. Further, based on when the customer signs up during the month, say you wish to ship the first issue as follows (subject to payment):

Sign-up Period Shipping Day for the First Issue
1st - 10th 10th
11th - 15th Same as payment day
16th - end of the month 10th of next month

Moreover, if the payment for the subscription is delayed beyond say, 15th, you wish to cancel the first shipment.

Then you would configure Chargebee as follows:

  1. Enable calendar billing with

    • Calendar billing date: 25th
    • Billing cutoff date: 15th
  2. Configure Chargebee Orders as:

    • Shipping date: 10th
    • Shipping cutoff: 15th

Was this article helpful?
Loading…