STPPaymentIntentSetupFutureUsage
enum STPPaymentIntentSetupFutureUsage {}
Indicates how you intend to use the payment method that your customer provides after the current payment completes.
If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments.
-
Unknown value. Update your SDK, or use
allResponseFields
for custom handling.Declaration
Objective-C
STPPaymentIntentSetupFutureUsageUnknown
Swift
case unknown = 0
-
No value was provided.
Declaration
Objective-C
STPPaymentIntentSetupFutureUsageNone
Swift
case none = 1
-
Indicates you intend to only reuse the payment method when the customer is in your checkout flow.
Declaration
Objective-C
STPPaymentIntentSetupFutureUsageOnSession
Swift
case onSession = 2
-
Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow.
Declaration
Objective-C
STPPaymentIntentSetupFutureUsageOffSession
Swift
case offSession = 3