#acceos
1 messages · Page 1 of 1 (latest)
Hi. Yes, it's recurring payments
Yeah, Stripe.js has no context in that regard
You'd build your own UI, probably using Products/Prices, and then create a Subscription to reflect that choice
Stripe.js just then confirms the initial payment to start the subscription
But there has to be a plan on stripes side, in order to initialize a subscription, correct?
Meaning - I could use the API to fire off a call to create a plan based on the features the client specified - Fetch the plan-id and then use Stripe.js to start a subscription?
But there has to be a plan on stripes side, in order to initialize a subscription, correct?
Yes, but you do that server-side. Not with Stripe.js: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-subscription
Yeah, that's what I was thinking also. Gonna have to do a few redirects and stuff. Is there any examples of anyone else doing this? It does not sound like anything overly unique
Yeah I mean it's a standard Billing integration with Elements. That link explains the entire flow
The only custom part for you is the UI to determine which Product/Price your user wants to subscribe to
Thanks a lot @ebon bronze Appreciate it
np!