Creating the pricing table
Last updated
Last updated
We use the Stripe Dashboard to create the pricing table used in Societal Labs. This pricing table allows you to offer different subscription pricing levels to your customers. You donβt need to write any custom code to create or embed a pricing table, everything is provided by Stripe.
In the Dashboard, go to More > Product catalog > pricing tables.
Click +Create pricing table.
Add products relevant to your customers (up to four per pricing interval). Optionally, include a free trial.
Adjust the look and feel in Display settings. You can highlight a specific product and customize the language, colors, font, and button design.
Configure payment settings by clicking Continue. Customize what customers see on the payments page and whether to display a confirmation page or redirect customers back to your site after a successful purchase.
Configure the customer portal by clicking Continue.
Click Copy code to copy the generated code and embed it into your Societal Labs website, specifically on the Subscription page.
The element where you want to paste your Stripe's Pricing Table code is called Stripe Pricing Table HTML.
Important
Once you have pasted the code for the pricing table, you need to go back to the HTML element on your Bubble editor and add the following:
After you have pasted the code, make sure you replace the CLIENT_REFERENCE_ID for the Current User unique ID and the CUSTOMER_EMAIL for the Current User email.