#Jayy
1 messages · Page 1 of 1 (latest)
Have you tried the Create Subscription API and specify the Price Ids?
The documentation is so massive that i'm a bit lost with which create subscription one to go through with lol ..
last one i've been looking at was this:
https://stripe.com/docs/billing/subscriptions/build-subscriptions
and this
https://stripe.com/docs/billing/subscriptions/multiple-products#creating
but the 2nd one asks for customer ID which i might not have since it could be a new customer ?
Both Doc are goods. First one is like the standard-front Doc, second one is a more detailed use cases. But per your question yes you would need to create a Customer object. It's simple, just call Customer.create
On 1st Doc if you choose "Custom Code" you also have that step https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-customer
1st Doc:
- Checkout -> simple flow
- Custom code -> a bit more complex but more flexibility. It's where you look at 2nd Doc
alright i'm gonna read it and try it out. Thanks Orakaro 🙂