App Store receipt JSON is missing environment?


I'm doing some validation on transactions based on the raw Apple JSON receipt. I'm seeing several receipts that don't have an environment field (example below with certain data replaced). I would expect to see a field that says: "environment": "Production", like I do for most of the receipts.
  • Is this an actual production transaction or is it a sandbox transaction?

  • Is this an Apple issue with how they're producing the file?


Code Block {
"receipt": {
"original_purchase_date_pst": "2014-06-25 09:30:38 America/Los_Angeles",
"expires_date_formatted": "2015-12-25 17:30:37 Etc/GMT",
"original_purchase_date_ms": "1403713838000",
"original_transaction_id": "123",
"purchase_date": "2015-06-25 16:30:37 Etc/GMT",
"expires_date": "1451064637000",
"unique_vendor_identifier": "123",
"product_id": "com.mycompany.app.purchases.mysku.skusub.6",
"expires_date_formatted_pst": "2015-12-25 09:30:37 America/Los_Angeles",
"unique_identifier": "123",
"original_purchase_date": "2014-06-25 16:30:38 Etc/GMT",
"bid": "com.mycompany.app",
"app_item_id": "338701294",
"purchase_date_pst": "2015-06-25 09:30:37 America/Los_Angeles",
"bvrs": "68",
"item_id": "641346776",
"quantity": "1",
"transaction_id": "140000146424116",
"purchase_date_ms": "1435249837000",
"web_order_line_item_id": "140000009776448"
},
"auto_renew_status": 1,
"status": 0,
"latest_receipt": "ewoJxcvs...snip"
"auto_renew_product_id": "com.mycompany.app.purchases.mysku.skusub.6",
"latest_receipt_info": {
"original_purchase_date_pst": "2014-06-25 09:30:38 America/Los_Angeles",
"subscription_group_identifier": "491923",
"expires_date_formatted": "2021-06-25 16:30:37 Etc/GMT",
"original_purchase_date_ms": "1403713838000",
"original_transaction_id": "140000095432215",
"expires_date": "1624638637000",
"purchase_date": "2020-12-25 17:30:37 Etc/GMT",
"unique_vendor_identifier": "123",
"product_id": "com.mycompany.app.purchases.mysku.skusub.6",
"is_trial_period": "false",
"expires_date_formatted_pst": "2021-06-25 09:30:37 America/Los_Angeles",
"unique_identifier": "123",
"original_purchase_date": "2014-06-25 16:30:38 Etc/GMT",
"bid": "com.mycompany.app",
"app_item_id": "338701294",
"purchase_date_pst": "2020-12-25 09:30:37 America/Los_Angeles",
"bvrs": "68",
"item_id": "641346776",
"in_app_ownership_type": "PURCHASED",
"quantity": "1",
"transaction_id": "140000898351748",
"web_order_line_item_id": "140000290017162",
"purchase_date_ms": "1608917437000",
"is_in_intro_offer_period": "false"
}
}


App Store receipt JSON is missing environment?
 
 
Q