#shubhamjha

1 messages · Page 1 of 1 (latest)

fleet sparrowBOT
granite summit
#

Let's chat here

onyx tartan
#

ok

granite summit
#

i need to upgrdae my subscripion

onyx tartan
#

why does it alwys goes for draft

granite summit
onyx tartan
#

yes i am doing upcoming subscription

#

but the subscription whre created but the payment is not done for the same

granite summit
#

but the subscription whre created by the payment is not done for the same
Sorry, I don't understand what you mean by that.
Can you provide an example request ID/subscription?

onyx tartan
#

ok like i have a subscription and when i test it with advancing the time for the last cycling date then the subscription wrere created for the next billing cycle but payment is not done

granite summit
#

A draft invoice should finalize automatically in about an hour
Have you tried advancing the clock a bit further?

onyx tartan
#

no

#

so how i know about that

#

what is the correct event for that

granite summit
#

ah let me clarify, if auto_advance is set to true then the invoice should finalize automatically.

You can listen to invoice.created and look at the invoice object to see if that property is set to true
I want to say invoice.finalized is the event you'd receive once the invoice moves from draft to open status

#

did advancing the clock finalize the invoice?