#priyan_63610
1 messages ยท Page 1 of 1 (latest)
Can you describe more the exact behavior you want?
I want to create the auto renew subscription with installment. exactly every first 3 month of every year, need to charge the customer
like jan 2024, feb 2024, march 2024 then jan 2025, feb 2025, march 2025 then its continuous for every year
There's several ways you can achieve this
Recommend just doing a monthly subscription and pausing after the 3rd month of the year until jan: https://stripe.com/docs/billing/subscriptions/pause
Alternative is to create a discount or negative invoice item to give credit for 9 months of the year after the 3rd month
how can I make this for next year ?
when I create the subscription I will mention first 3 months for payment, then 9 months with 0 payment. how can setup this to be repeated for every year
Ok easiest for you might be to just create a monthly sub for the amount of each of those 3 months
Then after receiving 3rd month's payment, create a negative invoice item for the amount of the remaining 9 months so that the next payment is in january
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
negative invoice items act as credits
The link above has a code snippet...
You just pass a negative amount instead of a positive amount
Yep so you'd pass -1 * amount/month * 9 after the third month to the invoice item
That will credit the following 9 months
And next payment will be jan
You can use test clocks to test this too: https://stripe.com/docs/billing/testing/test-clocks
after next year jan, feb, mar payment done. it will automatically charge negative amount ?
for next 9 months?