#Julio
1 messages · Page 1 of 1 (latest)
will they be actively paying themselves or do you want their saved card to get charged automatically?
charged automatically
i want to create a draft invoice in the beginning of the month,
add some invoice items during the month
and is should be paid the last day of the month
The only thing I can think of is you could create the Invoice, using auto_advance:false so Stripe don't pay it, and then schedule your system to call https://stripe.com/docs/api/invoices/pay when you're ready.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hmm I mean you could just create a Subscription then
you can have a subscription with a $0 base plan, which means it charges nothing by default. Then just add invoice items whenever you want, and those will be charged at the start of the next month.
ok but what if they have no items ?
will there be a invoice of 0 ?
or if the subscription is empty , the invoice is not edited
yes
no
okok
so either i have a cronjob that pays the invoice if any items, or i have a subscription that may create invoices with 0€
Is that the 2 options ? I think i will pass on handling a cronjob ^^
yep either option would work