Skip to main content

Example: Usage-based pricing

The following provides examples of how you could leverage the ecommerce platform to implement the usage-based pricing model. In this use case, a fictional company, CloudBit, offers security scans for corporate networks. On the first of every month, CloudBit calculates how many scans they conducted during the prior period, and they use the ecommerce platform to charge their customers.

Important

Notifications are an essential part of the pricing model setup. For more information about changing or adjusting your notification settings, see Manage Notifications.

Sign up

Under the usage-based pricing model, the customer must first sign up for a subscription and create a payment profile.

To enable a customer to sign up, CloudBit does the following:

  1. Once a customer initiates a transaction, CloudBit creates a signup URL (a simple checkout link).

    tip

    Example:
    The following is a sample checkout URL:

    https://<secure.yourdomain.com>/<your client account ID>/purl-checkout?cart=<ID of the music>&firstname=Han&lastname=Solo

    When you create the session URL, you can predefine user information such as firstname, lastname, or emailaddress. For a complete list of parameters, see Checkout Process Parameters > Customer Data.

    note

    If you want to use an existing payment profile to create the signup URL, generate a session URL and include the customer's UUID. For more information, see Single Sign-On (SSO).

  2. CloudBit redirects the customer to the link. The customer then completes the payment profile and submits the payment.

    note

    If the customer chooses an offline payment, you receive a NewOfflinePaymentPurchaseNotification. Use this to provide a visual confirmation of the transaction to the user in the Customer Self-Service portal. Provide payment instructions on the confirmation page. A link to the confirmation page is included in the CustomerConfirmationPageUrlNotification.

  3. Once cleverbridge receives a payment confirmation, cleverbridge sends CloudBit a PaidOrderNotification. For more information, see Notification Types.

  4. CloudBit entitles the customer to the product. Cleverbridge simultaneously sends the customer a confirmation email, which includes an invoice.

Charge for usage

To learn how to charge customers for usage, contact Client Experience.

Enable customers to purchase more data

For a full description of how this is possible with the Cleverbridge platform, see the following use cases:

Offer discount

To use promotional tools such as volume pricing, coupons, and so on, CloudBit does the following:

  1. To avoid churn, CloudBit tries to update the customer's payment information (if they are a credit card user) by calling the following API route: /subscription/updateaccount.

  2. CloudBit submits the promotion to the following API route: /cart/processcart.

    note

    To offer promotional incentives, you must set them up in the Cleverbridge platform. For more information, see Incentivize customers

Change payment profile

To allow customers to keep their payment profile up-to-date and avoid involuntary churn, CloudBit integrates the self-service change payment process that Cleverbridge offers into their website.

Example

The following are the elements you need to create a change payment link: https://<your secure hostname>/<your client account ID>/scp/S<subscription ID>-<subscription Secret> For more information, see Permanent links.


Did you find this doc useful?