#zhoucli-invoices
1 messages · Page 1 of 1 (latest)
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
The problem is the testing mode always set the invoice to paid 100% time.
Do you suggest me test that on live?
let's take a step back: what are you testing
like what exact payment method type because you didn't say
The payment method is credit card
then it's always synchronously paid
Got it!
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.)
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?
yeah, though that's the behaviour but we recommend testing this end to end to make sure
Makes sense. Thank you both for the help!