#nightshade2099

1 messages · Page 1 of 1 (latest)

gleaming schoonerBOT
stark linden
#

Can you share the invoice ID (in_xxx)?

late granite
#

sure: in_1NW6eoDjdxJUaev1JhYFY7HQ

stark linden
late granite
#

Ah. For some reason I thought that was only the case with payment behavior of default_incomplete. Is there no way to circumvent this?

#

I presume the alternative is to create an invoice that is NOT attached to a subscription, then create the sub once the invoice is paid?

stark linden
#

I'm afraid there is no way to avoid the payment window of 23 hours. You may create a new subscription.

#

Do you plan to charge automatically or send invoice?

late granite
#

hmm, strange. I might need to validate my API endpoint's logic. The goal is send_invoice, yes (although we plan to send our invoice in response to a webhook notification, rather than having Stripe doing it on our behalf)

#

So, just to verify, the best way for us to accomplish the business goal here (i.e. create an invoice, wait for payment, then provision the subscription after payment is collected) is to create invoices directly, and only create a subscription on payment receipt. Yes?

stark linden
#

With collection_method: 'send_invoice', customer will have to pay the invoice manually every billing cycle

late granite
#

ah, gotcha, so if we set days_until_due out to e.g. 30 days, the payment window will be the same? that's helpful, thank you

stark linden