$kit->payments->confirm()KitPaymentRecord shape as retrieve(), with status reflecting the outcome of confirmation, for example 'succeeded' or 'requires_action'.| Exception | When |
|---|---|
StripeOperationError | The PaymentIntent cannot be confirmed, for example the card was declined, or it was already confirmed. |
status comes back as requires_action and you still need to complete that step on the frontend using the PaymentIntent's clientSecret, which this method does not return, call retrieve() if you need it.savePayment() when a storage adapter is configured.payWithSavedMethod() for some reason.