#cCropster-pending-pi

1 messages · Page 1 of 1 (latest)

austere magnet
#

Hey, what's the context?

muted cave
#

when we process inovices we want to ignore invoices with a pending payment.

#

We want to find all invoices where there is no charge in progress.

austere magnet
#

Not sure where you're deriving 'pending payment' from

#

The only instances where a PI is 'processing' is if you're using an async payment method (like a bank redirect, etc)

muted cave
#

Ok, only payment intets can have the status processing if a async payment methods is used.

Referring to the documentation:
The PaymentIntent associated with this invoice. The PaymentIntent is generated when the invoice is finalized, and can then be used to pay the invoice.

Is there another way that an invoice is paid that doesn't affect the payment intent of an invoice?

#

e.g. the customer has a registered bank account, the payment intent is processing.
Now we add a balance or another payment method.
Will the invocie have a new payment intent when the invoice is recharged.

austere magnet
#

Nope, it'd be the same PI

muted cave
#

excellent, thanks for the clarification.