BTPayPalDriverErrorType
Objective-C
enum BTPayPalDriverErrorType : NSInteger {}
Swift
enum BTPayPalDriverErrorType : Int, @unchecked Sendable
Error codes associated with PayPal.
-
Unknown error
Declaration
Objective-C
BTPayPalDriverErrorTypeUnknown = 0
Swift
case unknown = 0
-
PayPal is disabled in configuration
Declaration
Objective-C
BTPayPalDriverErrorTypeDisabled
Swift
case disabled = 1
-
Invalid request, e.g. missing PayPal request
Declaration
Objective-C
BTPayPalDriverErrorTypeInvalidRequest
Swift
case invalidRequest = 2
-
Braintree SDK is integrated incorrectly
Declaration
Objective-C
BTPayPalDriverErrorTypeIntegration
Swift
case integration = 3
-
Payment flow was canceled, typically initiated by the user when exiting early from the flow.
Declaration
Objective-C
BTPayPalDriverErrorTypeCanceled
Swift
case canceled = 4