PaymentIntentService::update( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Updates properties on a PaymentIntent object without confirming.
Description Description
Depending on which properties you update, you may need to confirm the PaymentIntent again. For example, updating the
payment_method
will always require you to confirm the PaymentIntent again. If you prefer to update and confirm at the same time, we recommend updating properties via the <a href="/docs/api/payment_intents/confirm">confirm API instead.
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripePaymentIntent)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php