#beneordio_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283776696939446336
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Yeah you want Payment Links here
Otherwise the email would need to contain a link to your controlled site and then once the customer clicks that and visits your site you can take them through a Checkout Session or use a custom flow to start a Subscription.
But if you just want the email to have a link directly to Stripe Checkout to start the Subscription then you would use Payment Links for that.
Okay, is there a way to add a subscription to a payment link?
In Zapier these are the optional fields for the event: Create Payment Link
Yes, you create a Payment Link with a recurring Price
And it will then create a Subscription
Okay, how can i set the billing cycle, billing cylce anchor etc. ?
That's not really how Payment Links work since it is a Link that then starts a Subscription at an arbitrary time (whenever a customer clicks on the link)
You can see the different parameters that you can use with Payment Links via our API ref: https://docs.stripe.com/api/payment-link/create
Okay so i cant set a billing anchor like in a create subscription event?
Is the billing anchor / cycle part of the product_id of the payment link then?
Yes the billing cycle is dictated based on the Price which you set an interval for (like monthly)
And the billing anchor will always start at the time of the Subscription creation when using a Payment Link
so i can basically handle the subscription parameters in the price_id
Does the payment link page contain a legal confirmation element like legal terms such that the subscription is legally accepted by the customer?
At this point I'd pause and recommend you test it out
It takes 2 minutes to create a test mode Payment Link
You can do it right through the Dashboard if you want
That will give you a much better understanding of how this all works
After you do that, if you have specific questions then I'd be happy to help
alright thank you for your help!