#mattaddispt_best-practices
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/1298596860579287091
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! well that can be done using SubscriptionSchedules but it's not something natively built in when using PaymentLinks. You'd need to write bespoke code to listen to webhooks and to update the Subscription that gets created by the PaymentLink afterwards, to manage it with a Schedule.
yeah thats way out of my league, how can i go about learning how to do that or getting someone to build that for me?
thanks for your quick response!
not sure how to answer that since this channel is mainly for helping developers build this sort of thing. At a high level the flow is something like
- listen to checkout.session.completed for completed PaymentLink subscription creations https://docs.stripe.com/checkout/fulfillment
- https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
-
update and set `iterations` on the current phase to 3
if there's a developer you're working with, they could look into that.
Otherwise the realistic but not-scalable option is to just things like cancelling the subscription manually in the Dashboard or set them to expire in there, which I think is also possible.
Oh okay, didn't know that tbh as i've only just joined as i was looking for help and found this discord on the stripe page! I'll give it a go myself and see how I get on, if i get stuck what would be the best thing for me to do to find a developer to help me through this?
I think i know how to do it manually it would just be very time consuming so would love to get it working automatically
yep that's sort of the tradeoff when growing a business, you can often do things manually until you reach a point where the scale and the fund you have make it possible to hire developers etc to start automating and expanding
FWIW it's not an uncommon ask and from a product perspective we would love to make this sort of thing a native/built-in feature of our PaymentLinks, but it's not likely to happen this year for example. So for now the only way to fill that gap is bespoke development