What would be your method if you wanted to make a pricing page with a monthly/yearly toggle? Also would be. Neat video to do the stripe inbed pricing tables walkthrouhh and lemon squeezy as an alternative 😊
This is great, thanks! Is there a reason to have "Subscription" as its own data type, rather than having the fields from subscription saved directly to a user?
Thank you very much for this awesome course! 👏 I have a question regarding database structure/logic : in your example, there are 3 different Plans (Starter, Growth, Yearly) with only one frequency (month) for each Plan. How would you approach a need for Plans with two frequencies (month and year)? Here are the options I think about right now: 1. Duplicate the following attributes as values are different between month and year: Amount, ID price test, ID price live (so we would have Amont month, Amount year, ID price test month, ID price test year...) 2. Create 6 different Plans : Starter month, Starer year, Growth month, Growth year... I do not think those 2 options are the most efficient ones (or even working) and I think I am missing something here. Would you have any suggestions? Thank you for your precious help 🙏
For each plan (called Product in Stripe), you can add multiple prices and price frequencies. Each price comes with an ID and it's this pricing ID that we use to construct our Checkout session. You can then build a 'Monthly/ Yearly' toggle switch above each plan type (Starter or Monthly) to allow a user to toggle and select the frequency they would like. Simple save this user action to a state, and feed the state value into the Checkout session - line_items[0][price]
Hey Greg - brilliant vids so first of all thank you! Question from me - how should we approach changing pricing in the future? Let's say that my starter plan changes from $20 to $30 but I want all users who initially signed up for $20 to be locked on that price for life. Is this something you've handled before? Any pointers much appreciated!
You can add multiple prices to a plan (called Product in Stripe.) Each price comes with an ID. So for a Starter plan, you can add a price of $20 and another price of $30. When you are ready to switch from $20 to $30, simply switch the Starter plan price ID in your Bubble option set to the new $30 price ID.
Just built & launched a startup in 18 days largely due to your recent Stripe + OpenAI courses, @gregory-john 🙌 Overview of the process if you're curious: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BUS8SQkO1wk.html Couple of things that would have made life easier: - How to do a free trial with Stripe - Threads / Messages with OpenAI to be able to store & continue the Open AI interaction