User purchased the initial subscription and transmitted the relevant data to our server, where the receipt is stored for subscription validation.
As per the documentation, the "Original Transaction Identifier" is expected to be unique across all receipts in a chain of renewals for an auto-renewable subscription. Specifically, for subscription "S1," all auto-renewed receipts consistently share the same original transaction ID.
However, following several auto-renewals of the first subscription (User 1), information from Apple's response revealed details about a second subscription (S2), and remarkably, the second subscription (User 2) has the same original transaction ID as the first one.
Is there a potential connection with Apple's test environment? We currently lack any information or clues regarding the differentiation of accounts.
Webhook Request from App Store (iOS Payment Notification)
For Subscription (S1) - For User 1
{
"id": "***",
"auto_renew_adam_id": "***",
"auto_renew_product_id": "com.globalmed.loveeveryday.monthlysub",
"auto_renew_status": "true",
"unified_receipt": {
"id": "",
"environment": "",
"latest_receipt": "",
"latest_receipt_info": [ {
"id": "***",
"expires_date": "2024-01-19 05:47:24Etc\/GMT",
"expires_date_ms": "1705686444000",
"expires_date_pst": "***",
"in_app_ownership_type": "***",
"is_in_intro_offer_period": "***",
"is_trial_period": "true",
"is_upgraded": "false",
"offer_code_ref_name": "",
"original_purchase_date": "2023-05-19 03:54:26Etc\/GMT",
"original_purchase_date_ms": "",
"original_purchase_date_pst": "",
"original_transaction_id": "580000785864406",
"promotional_offer_id": "",
"product_id": "com.globalmed.loveeveryday.monthlysub",
"purchase_date": "2023-11-19 04:54:20Etc\/GMT",
"purchase_date_ms": "1700412860000",
"purchase_date_pst": "",
"quantity": "",
"subscription_group_identifier": "",
"transaction_id": "580001118634891",
"web_order_line_item_id": ""
}],
}
}
For Subscription (S2) for For User 2
{
"id": "***",
"auto_renew_adam_id": "***",
"auto_renew_product_id": "com.globalmed.loveeveryday.monthlysub",
"auto_renew_status": "true",
"unified_receipt": {
"id": "",
"environment": "",
"latest_receipt": "",
"latest_receipt_info": [ {
"id": "***",
"expires_date": "2024-02-19 05:47:24Etc\/GMT",
"expires_date_ms": "1708364844000",
"expires_date_pst": "***",
"in_app_ownership_type": "***",
"is_in_intro_offer_period": "***",
"is_trial_period": "true",
"is_upgraded": "false",
"offer_code_ref_name": "",
"original_purchase_date": "2024-01-08 04:37:02Etc\/GMT",
"original_purchase_date_ms": "1704731822996",
"original_purchase_date_pst": "",
"original_transaction_id": "580000785864406",
"promotional_offer_id": "",
"product_id": "com.globalmed.loveeveryday.monthlysub",
"purchase_date": "2024-01-19 05:47:24Etc\/GMT",
"purchase_date_ms": "1705686444000" ,
"purchase_date_pst": "",
"quantity": "",
"subscription_group_identifier": "",
"transaction_id": "580001139103833",
"web_order_line_item_id": ""
}],
}
}