Interface AppleIapConstants


public interface AppleIapConstants
  • Field Details

    • SANDBOX_BASE_API_URL

      static final String SANDBOX_BASE_API_URL
      The base url for sandbox receipt verification.
      See Also:
    • PRODUCTION_BASE_API_URL

      static final String PRODUCTION_BASE_API_URL
      The base url for production receipt verification.
      See Also:
    • VERIFY_RECEIPT_PATH_COMPONENT

      static final String VERIFY_RECEIPT_PATH_COMPONENT
      The path for the verify receipt endpoint.
      See Also:
    • RECEIPT_DATA_KEY

      static final String RECEIPT_DATA_KEY
      The receipt data key in the request for iOS Purchase validation.
      See Also:
    • VALID_STATUS_CODE

      static final int VALID_STATUS_CODE
      Status code in the JSON response indicating that the receipt given in the request is valid.
      See Also:
    • USE_SANDBOX_INSTEAD

      static final int USE_SANDBOX_INSTEAD
      Status code indicating that the IAP environment is incorrect. That is, a production receipt was passed to a sandbox URL. This is used to signal a re-try of validation to avoid having to make iOS/Bundle changes.
      See Also:
    • USE_PROD_INSTEAD

      static final int USE_PROD_INSTEAD
      Status code indicating that the IAP environment is incorrect. That is, a sandbox receipt was passed to a production URL. This is used to signal a re-try of validation to avoid having to make iOS/Bundle changes.
      See Also: