BTPaymentFlowDriverErrorType
Objective-C
enum BTPaymentFlowDriverErrorType : NSInteger {}
Swift
enum BTPaymentFlowDriverErrorType : Int, @unchecked Sendable
Errors associated with payment flows.
-
PaymentFlow unknown error.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeUnknown = 0
Swift
case unknown = 0
-
PaymentFlow is disabled in configuration.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeDisabled
Swift
case disabled = 1
-
UIApplication failed to switch to browser.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeAppSwitchFailed
Swift
case appSwitchFailed = 2
-
Return URL was invalid.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeInvalidReturnURL
Swift
case invalidReturnURL = 3
-
Braintree SDK is integrated incorrectly.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeIntegration
Swift
case integration = 4
-
Payment flow was canceled, typically initiated by the user when exiting early from the flow.
Declaration
Objective-C
BTPaymentFlowDriverErrorTypeCanceled
Swift
case canceled = 5