#lenqbit

1 messages ยท Page 1 of 1 (latest)

desert hareBOT
deep spade
#

Hello ๐Ÿ‘‹
Let's chat here

Could this be happening because there are no default payment method?

twilit badger
#

Actually scratch that last question I've just check another customer and they have a default payment method but yet seeing the invoices created still opened and their payment method is not charged

deep spade
#

Can you share an example invoice that I can take a look at?

twilit badger
#

sure let me get that

#

in_1M6XCP4z3ukbMzIvsJVmn7NC

deep spade
#

taking a look...

twilit badger
#

thanks

deep spade
#

It looks like auto_advance is set to false on the invoice

#

that's why its not getting paid

twilit badger
#

ok so we also thought that might be it so we made a change to set the flag to true on invoice creation

#

but were not 100% sure about the change hence why we reached out

#

cool is this needed for invoices that were create manually if we want it to be paid?

#

having the invoice created with the default charge_automatically isn't enough?

deep spade
#

I'm not sure why its setting auto advance to false here. still looking into that

twilit badger
#

sorry just to clarify what I meant the example invoice I sent you wasn't created with auto_advance set to true

#

we made that change only a few days ago after we thought this might be the reason

#

but were not 100 % sure

deep spade
#

My understanding was that by default we set auto_advance to true

twilit badger
#

oh ok

deep spade
#

checking to see if there's a dashboard setting controlling this

twilit badger
#

ok cool

#

thanks

#

what about the payment intent being in requires_confirmation status though?

#

why is it in this status? Or is this a red herring?

deep spade
#

What billing plan are you on currently? It looks like automatic collection is part of Invoicing Plus. It may be the billing plan causing this behaviour?

twilit badger
#

Sorry let me check that for you

#

only have developer access so not sure I can check that

#

need to ask internally

deep spade
#

Looks like one off invoices for a subscription are auto advance false by default. I tested it on my account just to see what the default behavior is.

twilit badger
#

ok ๐Ÿ‘ so we are now setting that flag explicitly to true on invoice creation. So it should fix the issue?

deep spade
#

Yup, it should.

twilit badger
#

cool. The payment intent status being requires_confirmation is normal?

deep spade
#

I believe so, since the invoice didn't auto advance

twilit badger
#

Thanks a lot for your help

#

so for the ones that are opened and not paid (created before we made the change) we can just use the /pay endpoint as you suggested to charge them?

deep spade
#

Yup, that should work

twilit badger
#

any specific parameters we should use? or just call it without any and it should charge the payment on file

deep spade
#

I believe you can just call it with the invoice ID