OPApplePayLauncherError
@objc
public enum OPApplePayLauncherError : Int, Error
An enum representing ApplePay specific errors
-
The configuration has not been set
Declaration
Swift
case configurationNotSet
-
The delegate has not been set
Declaration
Swift
case delegateNotSet
-
The merchant id is empty
Declaration
Swift
case emptyMerchantId
-
The company label is empty
Declaration
Swift
case emptyCompanyLabel
-
The country code is invalid
Declaration
Swift
case invalidCountryCode
-
The device is not set up for Apple Pay payments
Declaration
Swift
case applePayNotSupported
-
The line items sum total does not equal the total price
Declaration
Swift
case lineItemTotalMismatchError
-
This could occur for various reasons which include: * A payment sheet has aleady been launched and not yet been dismissed * A merchant id that has not been associated with a payment processing certificate or is not fully configured * An invalid country code * Regional restrictions on Apple Pay * Parental controls or software restrictions on Apple Pay
Declaration
Swift
case unexpectedError