#krishna1433 - Subscriptions
1 messages · Page 1 of 1 (latest)
Hello! That sounds technically possible, yeah, but can you provide more details so I can point you in the right direction? I'm specifically interested in what the external invoice generation system you're using does and does not handle so I know where the gaps you need to fill are.
Hello,
So the invoice generation system provides invoice due amount, invoice due timestamp and invoice number(for identification) after the customer accepts our quotes, so once these details are available I need to call stripe for charging the down payment (which is first installment of 11 = 10 remaining) I need to create a subscription for the next 10 invoices based on the invoice due amount and due timestamp which are not constant (as in the due amount is not always same number and due timestamp interval is also not constant across the 10installments, i mean it's not 30days exactly across the 10installments sometimes it can be 25 or 35 as well)
Since you're handling the invoices and timing on your end I recommend having your system create a Payment Intent at the time each payment is due.
You could potentially use Subscription Schedules for this, but Stripe Subscriptions generate their own Invoices, so you would end up with two Invoices for each payment (one generated by you, one generated by Stripe), and while I think this can technically work it isn't really what Subscription Schedules were designed to do.
Payment Intents documentation: https://stripe.com/docs/payments/payment-intents
Subscription Schedules documentation: https://stripe.com/docs/billing/subscriptions/subscription-schedules
Awesome But it would be another cron job for us which the client is reluctant to. They should be fine with additional invoice from our payment system. I see that you are suggesting it could be possible by using subscription schedule, I've been through the documentation but failing to exactly understand how do I implement it?
Can you ask a more specific question? The only way I can answer the question "how do I implement it?" is by pointing you to the docs. 🙂
I mean to say, should I add my invoice due amount and invoice timestamp to phases inside subscription schedule or do I have to update the schedule everytime
You would add the whole thing as several phases when you create the Schedule, likely one phase per payment.
As in each phase for each installment when I create subscription schedule?
Probably, if the interval between them is variable.