#vinz-subscription-adhocitems
1 messages · Page 1 of 1 (latest)
vinz-subscription-adhocitems
Hey @lost kernel ! You're using our Checkout product https://stripe.com/docs/payments/checkout specifically?
yep
but first I want to update cart price on my front end
I've created poducts in my backend
This is going to be quite complex to build unfortunately. But basically what you'd do is call the Retrieve Upcoming Invoice https://stripe.com/docs/api/invoices/upcoming and pass the recurring Price id(s) in items and the ad-hoc/one-time Price(s) in invoice_items and that will give you the result/math/calculatuon
thanks
I'll do it on my backend so
It'll be a bit more time consuming to have a DB consistent with stripe
but easier to code
There is no way to simulate a subscription ?
if my user is not yet a stripe customer