SetupIntentService::cancel( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )

A SetupIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.


Description Description

Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an error.


Parameters Parameters

$id

(Required)

$params

(Optional)

Default value: null

$opts

(Optional)

Default value: null


Top ↑

Return Return

(StripeSetupIntent)


Top ↑

Source Source

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


			

Top ↑

User Contributed Notes User Contributed Notes

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