The way my app is setup, I currently have 6 different stripe subscriptions available. Every time a user is charged, I need to identify what they purchased and create the respective package (a thing in the database). Currently I identify which package to create based on the price when i get a sucessful.charge webhook from stripe., the system just checks the stripe amount against the database to see what it should create.
My problem is, what if i apply a discount/coupon? the price will be unrecognized and the package will not generate.
As far as I know this is the only data I can pull from a stripe event in bubble:
Amount Failure Message
Any ideas as to how I can identify what was purchased other than price?