#lafafm

1 messages · Page 1 of 1 (latest)

broken cedarBOT
exotic mirage
inner swift
#

Is there any possibility to mark invoice as paid without charge being made?

As API call allows with option paid_out_of_band?

exotic mirage
#

Depends what you mean by 'without charge being made'?

inner swift
#

But doesn't see that possibility through Dashboard

#

E.g. in dashboard - payment method seems to be mandatory

exotic mirage
#

Which page are you creating that from?

inner swift
#

Probably found the issue here

By creating manually handled subscription - invoice is a draft for 1 hour after creation for some reason

E.g. I expected it to be open immediately

#

And as it's unfinalized I can't convert it to paid or whatever

exotic mirage
#

It's likely because its creating a collection_method: 'charge_automatically' invoice

#

You can create an invoice there and mark it as 'send invoice'

inner swift
#

Ok, speaking more detailed

I created a subscription from dashboard, with a collection method send_invoice
And "days_until_due": "0"
req_LQfnRn2wtj0nZQ

So, in my expectations - I should have a past_due subscription with a open invoice immediately

But what I have is an active subscription with a draft invoice

Invoice was created by subscription, with collection_method - send invoice
req_LQfnRn2wtj0nZQ

#

Can you help me finding where my expecations is wrong?

And why invoice is on the draft state in that case?

exotic mirage
#

Allows your to make any manual amendments to the invoice before payment

inner swift
#

Ok

But if doing all of these things through API - I can finalize it immediately by another API call, right?

exotic mirage
#

Yep!

inner swift
#

And by doing that - I should expect that subscription became past_due immediately, as it was created with "days_until_due": "0"?

exotic mirage
#

Seems logical, but I'm not sure. I'd test it

inner swift
#

Just tested it via CLI

Invoice became open , subscription is still active

#

The call I made through cli

stripe invoices finalize_invoice in_1MYU0lKbHTyAU2ATtB0YZMOF
exotic mirage
#

I'm not sure if days_until_due has any impact on subscription status

inner swift
#

That's pretty unexpected

#

Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where collection_method is set to send_invoice.