Manage rate plans
The first step of pricing, metering, and billing using the SaaSus Platform
Creating a Pricing Plan Using the SaaSus Development Console
Now, log in to the SaaSus Development Console of the SaaSus Platform and set up a pricing plan.
The SaaS Platform allows the creation of pricing plans that support subscription and pay-as-you-go models.
For example, this time let's create a pricing plan like this:
- Free plan
- Number of users Max 2
- Number of comments Max 10
- Basic plan
- Fixed fee 500 yen
- Max 5 users
- Number of comments pay-as-you-go
- Up to 10 comments, 0 yen
- From 11 comments to 100 comments, 500 yen
- Max 100 comments
- Advanced plan
- Fixed fee 3,000 yen
- Number of users Max 10
- Number of comments pay-as-you-go
- Up to 10 comments, 5 yen per comment
- From 11 to 100 comments, 2 yen per comment
- 101 comments ~ 1 yen per comment
- Enterprise plan
- Fixed fee 50,000 yen
- Number of users Free
- Number of comments Free
Plan | Basic charge | Number of users (MAX) | Number of comments |
---|---|---|---|
Free | 2 people | 10 | |
Basic | 500 yen | 5 people | Pay-as-you-go 0 yen: Up to 10 comments 500 yen: 11 to 100 comments Up to 100 comments |
Advanced | 3,000 yen | 10 people | Pay-as-you-go (per comment) 5 yen: 0-10 comments 2 yen: 11-100 comments 1 yen: 101 comments ~ |
Enterprise | 50,000 Yen | Unlimited | Unlimited |
*Since this is a tutorial, the price plan is complicated, but please do not set such a complicated price plan unless you have a good reason.
SaaS usage fees should not be based on cost, but based on how much value customers can receive.
Therefore, complex pricing imposes complex calculations and forecasts on customers, and while using SaaS reduces the burden on customers, it places a burden on pricing calculations and forecasts.
Therefore, you should create a pricing plan that is as simple and easy to understand as possible.
To define such a pricing plan in the SaaSus Platform,
unit of measure
・Unit for measuring usage and charging
function menu
・A unit provided as a function by combining measurement units
Rate plan
・Plan units linked to tenants
Create in units of
for example,
- Advanced plan
- Fixed fee 3,000 yen
- Number of users Max 10
- Number of comments pay-as-you-go
- Up to 10 comments, 5 yen per comment
- From 11 to 100 comments, 2 yen per comment
- 101 comments ~ 1 yen per comment
If you set
The unit of measure is
- Advanced fixed unit 3,000 yen
- Number of users Max10 Usage unit 0 yen
- number of comments tiered usage units
- Up to 10 comments, 5 yen per comment
- From 11 to 100 comments, 2 yen per comment
- 101 comments ~ 1 yen per comment
Create three units called
The function menu is
- Advanced function menu
- Include the above three units of measure
The price plan is
- Advanced plan
- Include Advanced function menu
Create it like this.
Now, let's create a price plan other than the Advanced plan!
The measurement unit, function menu, and price plan that will be created this time are as follows. Please see the video for details.
*The only plans required for this tutorial are the Free Plan and Basic Plan.The Advanced Plan and Enterprise Plan are listed as examples of other settings that can be made.
units of measure
Basic pricing
Units of Measure: Fixed Units
Unit of measure name | Unit of measure display name | Unit of measure description | Amount | ||
---|---|---|---|---|---|
basic_base | Basic Plan Base Fee | Basic Plan Base Fee | 500 | Month | JPY |
advanced_base | Advanced Plan Base Fee | Advanced Plan Base Fee | 3000 | Month | JPY |
enterprise_base | Enterprise Plan Base Fee | Enterprise Plan Base Fee | 50000 | Month | JPY |
Free plan
Unit of Measure: Usage Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Amount per unit usage | Limit | Currency |
---|---|---|---|---|---|---|
free_user | Number of Free Plan users | Number of Free Plan users | user_count | 0 | 2 | JPY |
free_comment | Number of Free Plan comments | Number of Free Plan comments | comment_count | 0 | 10 | JPY |
Basic plan
Unit of Measure: Usage Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Amount per unit usage | Limit | Currency |
---|---|---|---|---|---|---|
basic_user | Number of Basic plan users | Number of Basic plan users | user_count | 0 | 5 | JPY |
Unit of Measure: Tiered Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Currency | Range | Limit |
---|---|---|---|---|---|---|
basic_comment | Number of comments for Basic plan | Number of comments for Basic plan | comment_count | JPY | See table below | 100 |
range
More than | Less than | Unit amount | Fixed amount |
---|---|---|---|
0 | 10 | 0 | 0 |
11 | 59 | 0 | 1000 |
51 | 0 | 1500 |
Advanced Plan
Unit of Measure:Usage Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Amount per unit usage | Limit | Currency |
---|---|---|---|---|---|---|
advanced_user | Number of Advanced plan users | Number of Advanced plan users | user_count | 0 | 10 | JPY |
Unit of Measure: Tiered Usage Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Currency | Range | Limit |
---|---|---|---|---|---|---|
advanced_comment | number of comments in Advanced plan | number of comments in Advanced plan | comment_count | JPY | see table below | 0 |
range
More than | Less than | Unit amount | Fixed amount |
---|---|---|---|
0 | 10 | 5 | 0 |
11 | 100 | 2 | 0 |
101 | 1 | 0 |
Enterprise plan
Units of Measure: Usage Unit
Unit of measure name | Display name of unit of measure | Description of unit of measure | Target meter name | Amount per unit usage | Limit | Currency |
---|---|---|---|---|---|---|
enterprise_user | Enterprise plan user count | Enterprise plan user count | user_count | 0 | 0 | JPY |
enterprise_comment | Enterprise Plan Comments | Enterprise Plan Comments | user_comment | 0 | 0 | JPY |
Function Menu
Function menu name | Function menu display name | Function menu description | Measurement unit |
---|---|---|---|
free_menu | Free plan basic menu | Free plan basic menu | Free plan users Free plan comments |
basic_menu | Basic plan basic menu | Basic plan basic menu | Basic plan basic fee Basic plan users Basic plan comments |
advanced_menu | Advanced plan basic menu | Advanced plan basic menu | Advanced plan basic fee Advanced plan users Advanced plan comments |
enterprise_menu | Enterprise plan basic menu | Enterprise plan basic menu | Enterprise plan basic fee Enterprise plan users Enterprise plan comments |
Rate plan
Rate plan name | Display name of rate plan | Description of rate plan | Function menu |
---|---|---|---|
Free plan | Free plan | Free plan | Free plan basic menu |
Basic Plan | Basic Plan | Basic Plan | Basic Plan Basic Menu |
Advanced plan | Advanced plan | Advanced plan | Advanced plan basic menu |
Enterprise plan | Enterprise plan | Enterprise plan | Enterprise plan basic menu |
Linking Billing Using the SaaSus Development Console
Next, set up billing.
Of course, it is also possible to implement billing processing on your own based on the billing plans and usage information for each tenant.
However, SaaS already exists in the world to make billing easy.
In the same way that you can easily build and operate SaaS using the SaaS Platform, you can offload the effort of building and operating to SaaS by actively using convenient SaaS.
Therefore, this time we will try to work with Stripe, which is one of the billing SaaS.
If you do not want to link with Stripe, you can skip this step
From the side menu, click "External linkage"
Enter your Stripe secret key and click the Save button.

You are now ready to integrate with Stripe.
I think that the price plan created above is linked to Stripe.
Also, if you perform an operation that involves a price plan, it will be linked to Stripe.
Up to this point, the setting of the price plan is completed.
Now let's apply this pricing plan to each tenant.
Applying Rate Plans to Tenants
Log in to the SaaS Operation Console and click Pricing Plan Settings.

Click plan settings for each tenant to change the rate plan.
Let's set the free plan for tenant sample 1 and the basic plan for sample app tenant 2.

This will change the billing plan associated with the tenant. When working with Stripe, customer information is created on Stripe and a subscription is also created.

Now, let's implement the first step of authorization processing in the application by making use of the pricing and metering information set up so far.
Updated about 2 months ago