Hi,
We are validating In-App purchases using our server to communicate with App Store as descibed on Validating Receipts With the App Store.
To do so, we do request https://buy.itunes.apple.com/verifyReceiptusing our password and base64 encoded receipt-data but, for some purchases, the response from Apple is missing information. For example:
{
"status": 0,
"environment": "Production",
"receipt": {
"receipt_type": "Production",
"adam_id": <obfuscated>,
"app_item_id": <obfuscated>,
"bundle_id": "<obfuscated>",
"application_version": "218",
"download_id": 112005675632821,
"version_external_identifier": 811573888,
"receipt_creation_date": "2015-02-14 10:26:06 Etc/GMT",
"receipt_creation_date_ms": "1423909566000",
"receipt_creation_date_pst": "2015-02-14 02:26:06 America/Los_Angeles",
"request_date": "2017-08-22 19:18:03 Etc/GMT",
"request_date_ms": "1503429483962",
"request_date_pst": "2017-08-22 12:18:03 America/Los_Angeles",
"original_purchase_date": "2015-02-08 12:35:36 Etc/GMT",
"original_purchase_date_ms": "1423398936000",
"original_purchase_date_pst": "2015-02-08 04:35:36 America/Los_Angeles",
"original_application_version": "206",
"in_app": []
}
}
Note the in_app array attribute has no element inside it and there's no latest_receipt_info attribute in the response.
Also, you can see the status attribute value is 0 meaning the receipt is valid.
All of our in-app purchase products are auto-renewable subscriptions and this error happens regardless of it but only for some base64 encoded receipt-data.
Can you help me?