IAPErrorCode
public enum IAPErrorCode
The list of error codes that can be returned by the library.
-
You must call the
initialize
fuction before using the library.Declaration
Swift
case libraryNotInitialized
-
The Bundle Identifier is invalid.
Declaration
Swift
case bundleIdentifierInvalid
-
The Validator URL String is invalid.
Declaration
Swift
case validatorUrlInvalid
-
Failed to refresh the App Store receipt.
Declaration
Swift
case refreshReceiptFailed
-
Failed to validate the App Store receipt with Fovea.
Declaration
Swift
case validateReceiptFailed
-
Failed to read the receipt validation.
Declaration
Swift
case readReceiptFailed
-
Failed to refresh products from the App Store.
Declaration
Swift
case refreshProductsFailed
-
The product was not found on the App Store and cannot be purchased.
Declaration
Swift
case productNotFound
-
The user is not allowed to authorize payments.
Declaration
Swift
case cannotMakePurchase
-
A purchase is already in progress.
Declaration
Swift
case alreadyPurchasing