Stripe Bubble plugin: How to capture upsell data?

Working on an app where the default subscription plan is $25 per month.

However, the client would like to add an “upsell” option on the Stripe Checkout page where the user has the choice to choose a $240 per year plan instead.

Screenshot 2022-03-10 at 07.36.55

Is there some way I can capture the users choice on the Stripe Checkout page in the bubble database?

EG if they stay with monthly, “Plan Type” = Monthly but if they choose annual then “Plan Type” = Annual.

Any help would be much appreciated!

1 Like

You can probably have that information using an API call (with either Bubble’s plugin or other plug-ins) to retrieve the current user’s subscription and match the subscription plan ID to the monthly or yearly one.
The return from this call also gives you the start and end time of the subscription that you can use to deduce the selected plan.

Cheers!