Introduction
Pricing plans are the plans on the basis of which you charge money to the merchants.
It is important to create Pricing Plans for your app. You can create multiple kinds of Pricing Plans via SmoothCode dashboard and we will handle upgrades and downgrades for you.
You can access our Pricing Plans using our Pricing APIs
Types of Pricing Plans
We support 3 kinds of Pricing Plans:
- Free
- One Time Charge
- Subscription Based
- Monthly Recurring
- Annually Recurring
Free:
These plans doesn't charge anything from the merchants.
One Time Charge:
These plans charges the merchants once and upfront
Subscription Based:
These plans charges the merchants on a periodic basis. You can choose to charge the merchant on a monthly basis or a recurring basis
These kind of plans can have a trial period as well.
Creating a Pricing Plan
Step 1: Click on App Pricing tab in your App Dashboard and click on Add Pricing Plan
Step 2: Click on App Pricing tab in your App Dashboard and click on Add Pricing Plan
- Enter the name of the Plan
- Choose the Type of the Plan (Free/Paid)
- Enable as default plan
- If this is checked, this will be default plan attached to the merchant at the time of installation
- Enable Plan on App Dashboard
- If this is checked, this plan will be fetched while fetching your plans using our Pricing APIs
One Time Charge
For creating a One Time Charge
- Select Plan type as Paid
- Select the Pricing Cycle as One time Charge
- Enter the amount. (All the prices are in USD)
Recurring Plans
For creating a Recurring Subscriptions
- Select Plan type as Paid
- Select the Pricing Cycle as Monthly Recurring or Annual Recurring
- Enter the amount. (All the prices are in USD)
- You can also enable Trial Days. Select the checkbox Enable trial for the plan and enter the number of Trial days
Using SmoothCode APIs to Handle your Pricing
You can use SmoothCode's APIs to do the following things:
- List Pricing Plans
- You can list the pricing plans that you created on SmoothCode Dashboard
- upgrade_link:
- With every plan there's a field attached: upgrade_link
- You can redirect the merchant to this upgrade_link if you want the merchant to upgrade or downgrade the plan.
- You need to add shop query parameter to the upgrade_link
- Ex:
- upgrade_link: https://api.smoothcode.io/projects/{{project_id}}/platforms/shopify/billing-init/?pricing_plan_id={{pricing_plan_id}}
- shop: test.myshopify.com
- Final Upgrade Link: https://api.smoothcode.io/projects/{{project_id}}/platforms/shopify/billing-init/?pricing_plan_id={{pricing_plan_id}}&shop=test.myshopify.com
- Upgrade or Downgrade Plan
- You can upgrade or downgrade merchant's plan using this API
If you face any issues. You can always contact us and we will be ready to help you with this.
Contact us using Support on the dashboard
You can also book a call with us on SmoothCode
Happy SmoothCoding