#zhoucli-invoices

1 messages · Page 1 of 1 (latest)

edgy horizon
#

Hello!

#

I'd suggest testing this out - I believe the Invoice would still be open if it was processing, but I'm not 100% sure

native totem
#

The problem is the testing mode always set the invoice to paid 100% time.

#

Do you suggest me test that on live?

olive bloom
#

let's take a step back: what are you testing

#

like what exact payment method type because you didn't say

native totem
#

The payment method is credit card

olive bloom
#

then it's always synchronously paid

native totem
#

Got it!

olive bloom
#

either you call /pay and it succeeds and the invoice is paid and you're done, or you call /pay and it fails (decline, 3DS required, etc.)

native totem
#

That's really helpful! One more question, if the payment method is ACH, then the invoice would stay open even after /pay call?

#

Then I can check if it's paid by getting the invoice or using webhook, is my understanding correct?

olive bloom
#

yeah, though that's the behaviour but we recommend testing this end to end to make sure

native totem
#

Makes sense. Thank you both for the help!