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.
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:
-
Once a customer initiates a transaction, CloudBit creates a signup URL (a simple checkout link).
tipExample:
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
, oremailaddress
. For a complete list of parameters, see Checkout Process Parameters > Customer Data.noteIf 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).
-
CloudBit redirects the customer to the link. The customer then completes the payment profile and submits the payment.
noteIf 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 theCustomerConfirmationPageUrlNotification
. -
Once cleverbridge receives a payment confirmation, cleverbridge sends CloudBit a
PaidOrderNotification
. For more information, see Notification Types. -
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:
- Renew a Data-Limited Subscription Early at Full Price
- Renew a Data-Limited Subscription Early at Custom Price
- Combine a Data Usage Upgrade with an Early Full-Price Renewal
- Combine a Usage Data Upgrade with an Early Custom-Price Renewal
- Combine Usage Data Downgrade with an Early Full-Price Renewal
Offer discount
To use promotional tools such as volume pricing, coupons, and so on, CloudBit does the following:
-
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.
-
CloudBit submits the promotion to the following API route: /cart/processcart.
noteTo 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.
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.