#phonicuk-invoice-payment

1 messages · Page 1 of 1 (latest)

silver minnow
#

Hi there! What do you mean by "the invoice option" exactly?

fervent cradle
#

/s/option/object

#

When I re-fetch the payment intent with the "invoice" expansion

#

I've noticed some times it's not populated when I complete a regular payment - but with renewals is the invoice object already in existence by the time I receive my PaymentIntentSucceeded ?

silver minnow
#

Yes, an invoice should always be present for a Subscription when payment_intent.succeeded fires.

fervent cradle
#

Great, it's just other payment types where this isn't necessarily true?

silver minnow
#

It would only not be true if you are doing a one-off payment that does not involve an invoice

fervent cradle
#

gotcha