Open timothyylim opened 1 year ago
Hey @timothyylim, sorry for the delayed response. Can you try submitting this data with ONLY the price id? Leave out price, currency, name etc etc.
At least exclude those things just before creating the checkout session.
There's a helper function called formatLineItems()
that actually does this for you if you pass it the cartDetails just before checkout session creation. Lemme know if that creates the results you want!
Even though the
id
andprice_id
match the ones defined in the Stripe Dashboard, a successful payment results in a new 'one-off' product being created in Stripe.Is there anything I'm missing?