Interface AppleIapConstants
public interface AppleIapConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The base url for production receipt verification.static final String
The receipt data key in the request for iOS Purchase validation.static final String
The base url for sandbox receipt verification.static final int
Status code indicating that the IAP environment is incorrect.static final int
Status code indicating that the IAP environment is incorrect.static final int
Status code in the JSON response indicating that the receipt given in the request is valid.static final String
The path for the verify receipt endpoint.
-
Field Details
-
SANDBOX_BASE_API_URL
The base url for sandbox receipt verification.- See Also:
-
PRODUCTION_BASE_API_URL
The base url for production receipt verification.- See Also:
-
VERIFY_RECEIPT_PATH_COMPONENT
The path for the verify receipt endpoint.- See Also:
-
RECEIPT_DATA_KEY
The receipt data key in the request for iOS Purchase validation.- See Also:
-
VALID_STATUS_CODE
static final int VALID_STATUS_CODEStatus 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_INSTEADStatus 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_INSTEADStatus 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:
-