bubble standard stripe setup or using a combo of
Both
If you’re using bubble standard stripe plugin (created by bubble) it fills the bubble created fields for “current user subscription” and other fields. This is where the database triggers will work.
However as I’m sure you’ve seen that stripe plug-in is fairly under featured. Many times I tend tip avoid it and opt for creating the data fields myself and using stripe.js plug-in by co pilot, my own plugins for super unique use cases or similar. This is where using database triggers for bubbles native stripe integration or a combo of the two won’t work as those fields native from bubble won’t always be filled if you preformed the action from a 3rd party plugin. (Ex started a checkout experience with 3rd party)
For this part, especially at scale, I tend to create a daily or weekly workflow that runs through our bubble data & checks against stripe. If discrepancy is found it creates a database log I call “payment alert” and sends an email. It’s very rarely off but it’s happened when webhooks break, bubble has server issues, our workflow errors or similar.
It checks for things like:
Are all subscriptions marked active in our database also active in stripe.
Are our stripe connect payout logs in sync
Are invoice status’s in sync
Etc.
This part ^ probably isn’t as important if your app doesn’t rely on 3rd party services you have to pay per user. Last thing you want is to be paying overhead and have payments out of sync not bringing in revenue. App by app basis but easy to implement and can’t have too many checks on payments in my opinion