#muhammad-talha-zubair_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/1329358869855731826
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is possible! If the customer wants to pay in lump sum, this can be done with one-time payment: https://docs.stripe.com/payments/accept-a-payment
If the user wants to pay in 6 months, this can be done with Subscription Schedule: https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#installment-plans
Your system should calculate how much the customer should pay each month, and set up the price accordingly
Is it different then a simple subscription?
And also do we need to create the product as well for these schedule subscriptions?
Standard subscription can achieve same requirement too, but your system has to explicitly set the exact timestamp when you like to cancel the subscription using cancel_at: https://docs.stripe.com/api/subscriptions/create#create_subscription-cancel_at
For Subscription Schedule, you can simply set how many cycles to end the subscription using iterations
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok then i think subscription schedule is good in this case.
Also, about the second question
Do i need to create product for this type of schedule subscription as well?
Also, i want to receive webhook as well so i can save data against these in my own system as well.
Do i need to create product for this type of schedule subscription as well?
Yes
Also, i want to receive webhook as well so i can save data against these in my own system as well.
I'd recommend checking this guide on how to set up a Webhook endpoint to receive events: https://docs.stripe.com/webhooks
ok thanks