#umethi

1 messages ยท Page 1 of 1 (latest)

torn ginkgoBOT
delicate ravine
small hollow
#

One more question: Is there a way to manually create an invoice that fails finalization in the Dashboard?

delicate ravine
#

You would have to fix the issue with why it's failing to finalize first

small hollow
#

Understood, but then there's a button that allows me to Finalize the invoice on the Dashboard itself?

Do you have a screenshot of this button by chance?

delicate ravine
#

I don't unfortunately. I'm not really a dashboard expert, but I do know it's possible

#

I can check in a few

small hollow
#

Thank you, that would be really helpful!

cyan kayak
#

๐Ÿ‘‹

#

There is no button in the Dashboard to only finalize. If you use the "Charge customer" button then it will finalize and attempt to pay

delicate ravine
#

Also just tested this out in the dashboard, and if you aren't emailing the invoice to the customer, the way to finalize a draft invoice is to click the Review Invoice button in the top right and then "Confirm". That will finalize the invoice

small hollow
#

So if finalization fails, the invoice stays in open status. Once we fix the issue, we click the Review Invoice button in the top right and then "Confirm".

delicate ravine
#

That flow I didn't test. I'll let @cyan kayak take it from here though as they have more dashboard experience

cyan kayak
#

Hmmm I'm actually not familiar with that "Confirm" button being present on the Invoice Dashboard page. Where do you see that exactly?

delicate ravine
#

I had to go in the invoice editor and there's a review button in the top right

#

If you click that, a confirm modal pops up

cyan kayak
#

That still leads to "charge" though. You can't just finalize a charge_automatically invoice that way?

delicate ravine
#

Yeah I tested without charge_automatically so that's why

cyan kayak
#

Got it ๐Ÿ™‚

small hollow
#

So we can Finalize an invoice via the Dashboard right?

cyan kayak
#

So yeah overall this really isn't possible. If you want to test this @small hollow you should use the API to finalize

#

Only if you are using send_invoice can you finalize and send via the Dashboard without charging

small hollow
#

What if we're fine with charging?

#

We are enabling auto advance and charge automatically

#

This is just to process the invoices that initially failed finalization

cyan kayak
#

Oh then yeah

#

You just click "Charge customer"

small hollow
cyan kayak
#

It will move to a paid status, yes.

small hollow
#

Do you have an example of what a invoice.finalization_failed event looks like?

#

Like the JSON

cyan kayak
small hollow
#

Last question, maybe it's not possible but how do I create an invoice that fails finalization in the Dashboard?

cyan kayak