ZSErrorCode

public enum ZSErrorCode : Int

The error codes will be return from the ZS InApp SDK

  • Error code indicating that an unknown or unexpected error occurred in the SDK.

    Declaration

    Swift

    case unknown = -1
  • Error code indicating that an unknown or unexpected error occurred.

    Declaration

    Swift

    case appStoreUnknown
  • Error code indicating that the client is not allowed to perform the attempted action.

    Declaration

    Swift

    case appStoreClientInvalid
  • Error code indicating that the user canceled a payment request.

    Declaration

    Swift

    case appStorePaymentCancelled
  • Error code indicating that one of the payment parameters was not recognized by the App Store.

    Declaration

    Swift

    case appStorePaymentInvalid
  • Error code indicating that the user is not allowed to authorize payments.

    Declaration

    Swift

    case appStorePaymentNotAllowed
  • Error code indicating that the requested product is not available in the store.

    Declaration

    Swift

    case appStoreProductNotAvailable
  • Error code indicating that the user has not allowed access to Cloud service information.

    Declaration

    Swift

    case appStoreCloudServicePermissionDenied
  • Error code indicating that the device could not connect to the network.

    Declaration

    Swift

    case appStoreCloudServiceNetworkConnectionFailed
  • Error code indicating that the user has revoked permission to use this cloud service.

    Declaration

    Swift

    case appStoreCloudServiceRevoked
  • Error code indicating that the user has not yet acknowledged Apple’s privacy policy for Apple Music.

    Declaration

    Swift

    case appStorePrivacyAcknowledgementRequired
  • Error code indicating that the app is attempting to use a property for which it does not have the required entitlement.

    Declaration

    Swift

    case appStoreUnauthorizedRequestData
  • Error code indicating that the offer identifier is invalid.

    Declaration

    Swift

    case appStoreInvalidOfferIdentifier
  • Error code indicating that the price you specified in App Store Connect is no longer valid.

    Declaration

    Swift

    case appStoreInvalidOfferPrice
  • Error code indicating that the signature in a payment discount is not valid.

    Declaration

    Swift

    case appStoreInvalidSignature
  • Error code indicating that parameters are missing in a payment discount.

    Declaration

    Swift

    case appStoreMissingOfferParams
  • Error code indicating that there is some unknown error occurred in Zoho Billing server.

    Declaration

    Swift

    case zsServerUnknown
  • Error code indicating that there are no valid purchases found in the receipt.

    Declaration

    Swift

    case noValidPurchasesFound = 2142
  • Error code indicating that the purchase is already processed and synced to the Zoho Billing server.

    Declaration

    Swift

    case purchaseAlreadyProcessed = 2145
  • Error code indicating that the api key provided for Zoho Billing is invalid or revoked.

    Declaration

    Swift

    case invalidAPIKey = 2146
  • Error code indicating that there is a connection problem while connecting to App Store Server from Zoho Billing Server.

    Declaration

    Swift

    case storeConnectivityError = 101
  • Error code indicating that the plan in Zoho Billing is inactive.

    Declaration

    Swift

    case planInactiveInZS = 101019
  • Error code indicating that the in app purchase receipt is not available.

    Declaration

    Swift

    case receiptNotAvailable
  • Error code indicating that some of the configurations were not given in the ZSKit initializer. All other ZSKit methods have to be called only after initializing the SDK with an appropriate configuration.

    Declaration

    Swift

    case configurationMissing
  • Error code indicating that payment is pending for additional action.

    Declaration

    Swift

    case appStorePaymentPending
  • Error code indicating that app store transaction is unverified.

    Declaration

    Swift

    case appStoreTransactionUnverified