ConfirmPaymentIntent
Confirms that the customer intends to pay with the current or provided payment method.
Stored Procedure-Specific Information
To run this procedure, enter:EXEC ConfirmPaymentIntent PaymentIntentId = 'pi_3Ote8z2eZvKYlo2C0ys504TM', ReturnUrl = 'https://localhost:9000'
Input
| Name | Type | Description |
| PaymentIntentId | String | The Id of the PaymentIntent to confirm. |
| PaymentMethod | String | The Id of the payment method (a PaymentMethod, Card, or compatible Source object) to attach to this PaymentIntent. |
| ReceiptEmail | String | The email address that the receipt for the resulting payment is sent to. If receipt_email is specified for a payment in live mode, a receipt is sent regardless of your email settings. |
| SetupFutureUsage | String | Indicates that you intend to make future payments with this PaymentIntent's payment method. |
| Shipping | String | Shipping information for this PaymentIntent. |
| CaptureMethod | String | Controls when the funds are captured from the customer's account. |
| ErrorOnRequiresAction | String | Set to true to fail the payment attempt if the PaymentIntent transitions into requires_action. This parameter is intended for simpler integrations that do not handle customer actions, such as saving cards without authentication. |
| Mandate | String | The Id of the mandate that is used for this payment. |
| MandateData | String | The hash containing details about the mandate to create. |
| OffSession | String | Set to true to indicate that the customer is not in your checkout flow during this payment attempt and cannot authenticate. |
| PaymentMethodData | String | If provided, this hash is used to create a PaymentMethod. The new PaymentMethod appears in the payment_method property on the PaymentIntent. |
| PaymentMethodOptions | String | Payment method-specific configuration for this PaymentIntent. |
| PaymentMethodTypes | String | The list of payment method types, such as card, that this PaymentIntent can use. |
| RadarOptions | String | Options to configure Radar. |
| ReturnUrl | String | The URL to redirect the customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter is only used for cards and other redirect-based payment methods. |
| UseStripeSdk | String | Set to true when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions. |
Result Set Columns
| Name | Type | Description |
| Success | String | The execution status of the stored procedure. |