#krishna1433-subscription-schedule
1 messages · Page 1 of 1 (latest)
Hi there,
- If this is the phase you are referring to https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-phases, this is the information that defines how the Subscription will behave within a period of time.
Before I continue to answer your other questions, I was wondering if you could share your business use case for us to advise you better please?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you for your reply. My use case is i have to an amount collect in 10 installments. This amount is not divided equally but falls on same day of the month
Please ignore the first installment in this. It is collected as down payment.
@hazy depot to answer your second question :
for your particular use case, the customer will be charged automatically at the beginning of each billing interval.
You may want to refer to this guide for a more detailed explanation on how to use subscription schedules for your use case : https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#installment-plans
for your situation though, since you have different amounts, you would probably need to set different phases.
Awesome. I did that. Can you please keep this chat unarchived. However I have few questions, please allow me to grab the request id
sure, i'll be here for now, but the thread will be automatically archived if there's no activity after a period of time
req_MAhhXWKq3sxtfr
Please find this request id, I'm having trouble here only 9 phases are being created
@hazy depot you don't need 9 phases. If you're charging $35.5 x 9 (months), what you would do is to use a Price which has $35.5 / month and define the below phase
{
items: [
{
price: 'price_...',
quantity: 1,
},
],
iterations: 9,
},
],
Sure, but I would be needing to make 10 iterations, the last iterations will have a different price
you would need 2 phases then
the first phase would be for $35.5/month (9 iterations), and the last one would be for $35.32/month. (1 iteration)
Okay, I will try to do this and get back thank you!
and what would be the billing cycle anchor
I am currently using automatic will that be fine
automatic should be fine, unless you have specific requirements
req_UrFX84enP2jpmW
how do i test subscription schedules? 😮 there are 9 iterations, does that mean there will be debit each month for 9 months and then the last one there will be a price update
it depends on how long you're willing to wait for the testing - one option is to do a $35.5/day Price to simulate what you would see
i would stick to doing 2 phases, and 1 iteration for each phase
req_UrFX84enP2jpmW
for this i have added two phases, one with 9 iterations and other with an end date
there isn't a way to speed up testing for a subscription schedule
that's why i would suggest testing with a shorter billing interval like daily just so you understand how it works
Okay
Our customer requirement is as such that it might make changes to price every month. So there is no other way to acheive this than using multiple phases
If your customer will pay a different price every month, i think it would be easier for you to simply invoice a customer instead and keep track of the remaining amount that the customer needs to pay on your own server
it really depends on what is the likelihood that your customer will pay a different price every month