Very true @randomanon
For the most part true. Definitely no need to overpay for anything, especially the storage and retrieval of information. If Stripe has it, let them handle it. If you really need it in the app DB as well, save it as a the api object itself and leverage the cost savings of fetching api objects instead of custom data things.
Since I struggle with this, the improper data structure around names, Iāve decided to try and simplify things and put that data on one location only in the database. Not much use in having the same data stored on two different data types so long as you relate things, which bubble does with the creator field, so if every single data type has a built in relation to user through the creator field, the likely best place as a single location to put the name of the user is on the user data type.
Yes, this just means, do not rely on the data tab as the source of information and build out in five minutes a page and visual of the data so you can see it or the app owner could, similar to a dashboard with analytics.
The correct and most balanced way to use reusable elements is lost on many developers and is a complicated topic that takes some time to fully understand the nuances and tradeoffs.
You already have the documentation, you have the link in forum, and can easily setup the ādemo userā access. Other than those things, for free templates the only admin stuff is pressing the submit button. Bubble then verifies it works and puts it on the marketplace.
@georgecollier Thanks for sharing.
One suggestion. If you are putting this out as how to do Stripe properly, you should show how to initialize the Create Subscription so as to enable multiple subscriptions at once. Iād say as well, add in how to do that for products only, so can check out and pay for products, not just subscriptions. And maybe consider showing how can do multiple products in one checkout session.
If you want to take that further, show a checkout with multiple products and multiple subscriptions in one checkout. Stripe allows for up to 40 products and 20 subscriptions in a single checkout (maybe those numbers are different now since I last looked), but an optimal Stripe setup will enable multiple subscriptions and/or multiple products at once with a single action.
Those points were some of the things I saw as missing from Gregory John video on Bubble youtube about how to setup Stripe via API.