Building a system on bubble to handle credits

Hi!
I would like to build a system in bubble to handle user credits. The goal is to allow users to buy a package of sessions upfront and then use their credits for future bookings. Number of future bookings would be capped dependent on price paid for package.

Any help on this would be greatly appreciated :slight_smile:

Looking at it broadly, you’d just need a data field under the User data type called “credits”

When they purchase, you would add to their credits field. Something like this users credits + “5”

Then, when they book future bookings, you would deduct from their credit field.

Maybe I’m missing something. Where are you having trouble implementing this?

T
Learn no code → nocodify.com

Ah no worries, I’ve worked it out!