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


Top ↑

Return Return

(StripePaymentIntent)


Top ↑

Source Source

File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.