FallbackType
enum FallbackType
extension FallbackType : Equatable, Hashable, RawRepresentable
When we need to fallback, there can be several cases. All of these fallback scenarios were imported from Android
-
An authentication failure happened and we need to fallback gracefully
Declaration
Swift
case authenticationFailure
-
User has multiple balances for a billing with purchase flow
Declaration
Swift
case billingWithPurchaseMultipleBalances
-
Exception when processing cancelUrl API response
Declaration
Swift
case cancelURL
-
User checkout response has errors
Declaration
Swift
case checkoutResponseErrors
-
Failure when we are unable to complete SCA
Declaration
Swift
case completeSCAFailure
-
Failed to call updateCurrencyConversionType
Declaration
Swift
case currencyConvertFailure
-
No alert should be shown
Declaration
Swift
case eligibilityFailure
-
Error when observing setProps from Firebase
Declaration
Swift
case firebaseSetPropsError
-
Error parsing firebase token response
Declaration
Swift
case firebaseTokenFailure
-
Ineligible traffic
Declaration
Swift
case ineligibleTraffic
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: String)
-
Kill switch experiment turned on
Declaration
Swift
case killSwitch
-
Merchant has opt-in to forcing their customers to fallback to web
Declaration
Swift
case merchant
-
User opted out of native checkout
Declaration
Swift
case nativeOptOut
-
Auth failure non-user cancelled flow
Declaration
Swift
case nonUserCancelledFlow
-
Failed to call GET payToken at PayTokenService
Declaration
Swift
case payTokenFailure
-
Unable to finish checkout
Declaration
Swift
case unknownCheckoutIssue
-
User is on an unsupported device type
Declaration
Swift
case unsupportedDeviceType
-
Has unsupported flow
Declaration
Swift
case unsupportedFlow
-
The request to update the client config failed
Declaration
Swift
case updateClientConfigFailure
-
The call to fetch the latest user agreement failed
Declaration
Swift
case userAgreementFailure
-
Failed to call GET checkoutData at CheckoutFinishService
Declaration
Swift
case userCheckoutFailFinishService
-
Failed to call GET checkoutData at UserAndCheckoutPayloadService
Declaration
Swift
case userCheckoutFailPayloadService
-
Either hermes web or checkout lite
Declaration
Swift
case web
-
Web experience experiment turned on
Declaration
Swift
case webCheckoutExperiment