Billing Integration

Currency Configuration

You need to set the default currency for the platform.

Go to the System Settings section of the admin panel and provide the following two parameters:

  • HOSTER_CURRENCY – provide preferred currency to be used on the platform (3-letter ISO currency code)
  • HOSTER_CURRENCY_SIGN – a special symbol for the currency used on the platform

currency settings

Pricing Configuration

The platform supports both usage-based and subscription-based (fixed) pricings. The latter option can be configured by following the dedicated Subscription-Based Products guide.

To set a usage-based pricing system for your platform users, you need to perform the steps below:

1. Create tariffs for resources charged by the platform.

crate tariffs

Learn more about Tariffs Management.

2. Create a pricing model with a set of the required tariffs. To correctly charge users, you need at least the following tariffs:

  • Dynamic Cloudlets
  • Reserved Cloudlets
  • Disk Space
  • Network
  • Additional Options (IPv4, IPv6, SSL)

create pricing model

3. Assign the pricing model. Go to the Groups section and select the required users’ group. Next, switch to the Regions & Pricing tab and select the pricing model needed for each region.

assign pricing model

External Billing

Platform internal billing tracks the used resources and interacts with the configured pricing model to calculate the cost. However, to start charging users, you need to integrate an external billing system to process all the operations with real money. The platform provides native integration with two reliable giant billing systems – Stripe and WHMCS.

Custom Billing Integration is possible but recommended for experienced customers only.

SSO Integration

Single Sign-On (SSO) associates PaaS and external billing system accounts, allowing you to access one platform from another without additional authentication. In our case, we want to connect the external billing system from the user dashboard with a single button. It is intended to simplify processes of balance refilling and opening support tickets for all billing customers on your platform.

Refer to the SSO Integration guide for the implementation requirements and steps for the automatic SSO link generation for WHMCS.

What’s next?