Stripe Plans
Setup SaaS pricing plans for your whitelabel.
Last updated
Was this helpful?
Setup SaaS pricing plans for your whitelabel.
Last updated
Was this helpful?
To configure pricing plans for your WotNot white-label instance, please follow the steps below.
Login to your Stripe account
In the left-hand menu, click on Developers -> Webhooks
Click on "Add Endpoint" and enter the following URL: https://hooks.DOMAIN_NAME/stripe/event, replacing DOMAIN_NAME with your actual domain name.
Select the following events:
customer.subscription.deleted
customer.updated
invoice.paid
invoice.payment_failed
Once the webhook endpoint is created, click on it to open the details.
On the right side, under the Endpoint section, you’ll find the Signing Secret. Copy this key.
Paste the Signing Secret into the Webhook Key field in your Admin portal -> Settings -> Pricing.
Go to Developers > API keys in your Stripe dashboard.
Copy the Secret Key from the Standard key section.
Paste this token into the Signing Secret field in your Admin portal -> Settings -> Pricing.
To charge users who exceed the chat limit given to them in their account, we charge extra for the additional chats consumed in batches of 1,000 chats each.
In your Stripe dashboard, navigate to Product Catalog and click on Create Product.
In the Name field, enter "Extra Chats"
In the Description field, add a description for the product.
Select One-off for the Product Type.
Enter the price for extra chats, then click Save.
Click on the three dots next to the product you just created, then select Copy Price ID.
Paste the copied Price ID into the Plan ID for Extra Chat field in your Admin portal -> Settings -> Pricing.
Enter the webpage where the pricing plans are displayed (e.g., https://wotnot.io/pricing).
Users will be able to go to this webpage when browsing through plans.
Now we will create the subscription plans that your users will purchase on your whitelabel.
Navigate to the product catalog page and select the extra chat you created.
Click the "+" button to add the plans.
Fill the required details
Give it a name "Whitelabel subscription"
Select "Recurring" and enter the amount in the price field and click "Add product".
Next, open the plan you just created and add all the plan's prices by clicking on "+" under prices i.e. $99, 950, 299, 2870, 899, 10,800 etc.
Next, open each of these prices, and select "Edit Metadata."
In the "Key" field, type "plan_name,"
And, in the "Value" field enter the plan name (e.g., "Starter - Monthly")
Finally, click "Save."
Now copy the plan ID and save it with you. It will be required in mapping it on the admin portal.
Open Admin portal -> Settings -> Pricing
Goto "Plans", click "Create plan"
Choose "Stripe plan"
Enter the Monthly and Yearly "plan_id" that you saved when creating it on Stripe
Map the required features for each subscription plan
Click 'Save'