#phonicuk-invoice-payment
1 messages · Page 1 of 1 (latest)
/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 ?
Yes, an invoice should always be present for a Subscription when payment_intent.succeeded fires.
Great, it's just other payment types where this isn't necessarily true?
It would only not be true if you are doing a one-off payment that does not involve an invoice
gotcha