#NotP_Dot
1 messages · Page 1 of 1 (latest)
That is the purpose of the add_invoice_items parameter. So you can append one-off charges to any particular invoice
Without having them repeat
got it, this is my first time using custom code with stripe, I've mostly relied on the low code option.
are there any docs for the stripe elements for React by any chance
Makes perfect sense.
everything makes sense until getting to step 6 for this docs - https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
Actually if you take a look our basic Accept a Payment guide, it includes examples you can switch from HTML+JS to React
Since the Payment Element is just the means of collecting the payment method info, it doesn't matter to the front-end if you are using a Payment Intent for a one-off charge, or getting it from the Subscription.Invoice
I see okay that makes more sense
thanks for the additional docs
I'll check em out
Sure thing, happy to help 🙂
Publishable keys are designed to be safe to expose on things like a web client (since they are how you initialize Stripe.js).