#j_r_e
1 messages ยท Page 1 of 1 (latest)
Hello! If you're planning on using Checkout, then you shouldn't be creating a Subscription in your backend at all - Checkout would create the Subscription for you
Do you still want to use Checkout, or do you want to create your own custom payment flow using Payment Element?
hi ! yes but I have multiple price to be included
no, I don't care in fact, either checkout or elements
With Checkout you can also specify multiple prices - you'd pass them in as line_items
the easiest for me ๐
ok...but as I already implemented my backend may be elements will be more adapted
I've seen in the docs https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements chapter 5 about elements, but this not clear at all for me
What specific part of that doc isn't clear for you? If you give me specifics on which step you don't understand I can give more details
well
I indicate the clientSecret I received from my backend, this one is ok
but I don't know how to submit those information to stripe in fact
I've seen some examples in your github https://github.com/stripe/elements-examples/tree/master but this is just UI examples
Did you specifically read the step at https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#collect-payment ?
This talks about how to set up Stripe JS + Elements. Once you've got that setup you'd use the client-secret you have w/ Element to confirm the payment intent