#evan_09475
1 messages · Page 1 of 1 (latest)
Hi there!
Here's a link to the most classic integration: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
First create the Subscription, then use the Payment Element to collect payment information.
Or the simplest option is to use Checkout Sessions: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=checkout
So it should go as follows:
When A user tries to subscribe or clicks on subscribe in my app, i should fire a request to my api, that request will create a stripe customer, then create a subscription with the customerid I got from stripe, and the planId I have. after that I should get back the client secret of my intent to the client ?