Hello,
I’m encountering an issue with an iOS in-app purchase receipt where the in_app array contains the previous transaction’s data, rather than the most recent one. However, the correct transaction details appear in the latest_receipt_info array. According to my understanding, the in_app array should contain the most recent transaction details, but in my case, it does not.
Here’s the anonymized receipt data for reference:
{
"receipt": {
"receipt_type": "Production",
"adam_id": ...,
"app_item_id": ...,
"bundle_id": "...",
"application_version": "...",
"download_id": ...,
"version_external_identifier": ...,
"receipt_creation_date": "2024-08-20 12:52:28 Etc/GMT",
"receipt_creation_date_ms": "1724158348000",
"receipt_creation_date_pst": "2024-08-20 05:52:28 America/Los_Angeles",
"request_date": "2024-08-25 03:27:31 Etc/GMT",
"request_date_ms": "1724556451959",
"request_date_pst": "2024-08-24 20:27:31 America/Los_Angeles",
"original_purchase_date": "2015-10-09 07:04:21 Etc/GMT",
"original_purchase_date_ms": "1444374261000",
"original_purchase_date_pst": "2015-10-09 00:04:21 America/Los_Angeles",
"original_application_version": "1.1.3449",
"in_app": [
{
"quantity": "1",
"product_id": "...279K",
"transaction_id": "500001835761582",
"original_transaction_id": "500001835761582",
"purchase_date": "2024-08-20 12:52:27 Etc/GMT",
"purchase_date_ms": "1724158347000",
"purchase_date_pst": "2024-08-20 05:52:27 America/Los_Angeles",
"original_purchase_date": "2024-08-20 12:52:27 Etc/GMT",
"original_purchase_date_ms": "1724158347000",
"original_purchase_date_pst": "2024-08-20 05:52:27 America/Los_Angeles",
"is_trial_period": "false",
"in_app_ownership_type": "PURCHASED"
}
]
},
"environment": "Production",
"latest_receipt_info": [
{
"quantity": "1",
"product_id": "...155K",
"transaction_id": "500001841402403",
"original_transaction_id": "500001841402403",
"purchase_date": "2024-08-25 03:27:28 Etc/GMT",
"purchase_date_ms": "1724556448000",
"purchase_date_pst": "2024-08-24 20:27:28 America/Los_Angeles",
"original_purchase_date": "2024-08-25 03:27:28 Etc/GMT",
"original_purchase_date_ms": "1724556448000",
"original_purchase_date_pst": "2024-08-24 20:27:28 America/Los_Angeles",
"is_trial_period": "false",
"in_app_ownership_type": "PURCHASED"
}
]
}
As shown, the in_app array contains a transaction with a purchase_date of 2024-08-20, while the latest_receipt_info array correctly reflects the most recent transaction with a purchase_date of 2024-08-25.
Is this behavior expected, or is it an issue that needs addressing? Any insights or suggestions on how to resolve this would be greatly appreciated.
Thank you!