#hc-invoice-finalize

1 messages ยท Page 1 of 1 (latest)

weak garnetBOT
worldly steeple
#

Hello ๐Ÿ‘‹
What behaviour are you currently seeing in your tests?

#

Like what happens when you create a subscription with collection method send_invoice?

timber field
#

not sure

#

someone said me that invoice email will be sent in 1 hour so

#

but If I finalize invoice and call send invoice then email will be sent soon

timber field
worldly steeple
#

Have you tested the flow yet?
Like have you tried creating a subcription? The invoice should get created once you create the subscription

weak garnetBOT
timber field
#

yes.

#

I did

void pilot
#

bugkiller-invoice-finalize

worldly steeple
#

Gotcha. So if you look at latest_invoice property on the JSON you attached, you can find the invoice ID there

timber field
#

hmm, ok let me try

#

how can I check if invoice is already finalized or not

void pilot
#

hc-invoice-finalize

#

What have you tried @timber field?

timber field
#

I mean, if invoice status is "draft" then I need to call finalize maybe

#

?

void pilot
#

likely yes, best to try in Test mode, look at the docs etc.

timber field
#

yes tried in test mode now

void pilot
#

Please take a few minutes to read the doc, look at your code, add logs and understand it. Don't reply in seconds with a picture like this. If you have a clear and specific question about what's blocking you I'm happy to help but only after you have tried things first