Skip to content

Instantly share code, notes, and snippets.

@lxcid
Created December 27, 2012 03:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lxcid/4385292 to your computer and use it in GitHub Desktop.
Save lxcid/4385292 to your computer and use it in GitHub Desktop.
Sample Sandbox In-App Purchase Receipt that is expired.
{
"status": 21006,
"receipt": {
"original_purchase_date_ms": "1335927991000",
"original_purchase_date_pst": "2012-05-01 20:06:31 America\/Los_Angeles",
"transaction_id": "1000000060958597",
"quantity": "1",
"bid": "kh.com.ctn.plus",
"original_transaction_id": "1000000046496076",
"unique_vendor_identifier": "1E8A3A6A-F455-4020-8194-7BC14991A00A",
"bvrs": "1.0.0",
"expires_date_formatted": "2012-05-03 07:09:59 Etc\/GMT",
"expires_date": "1336028999000",
"product_id": "kh.com.ctn.plus.iap.ars.months.01",
"purchase_date": "2012-05-03 07:04:59 Etc\/GMT",
"purchase_date_ms": "1336028699000",
"item_id": "522272545",
"expires_date_formatted_pst": "2012-05-03 00:09:59 America\/Los_Angeles",
"purchase_date_pst": "2012-05-03 00:04:59 America\/Los_Angeles",
"original_purchase_date": "2012-05-02 03:06:31 Etc\/GMT",
"web_order_line_item_id": "1000000024529389",
"unique_identifier": "428c98830faefa3b4e011d3e9ba3d48b1a57c28b"
},
"latest_expired_receipt_info": {
"original_purchase_date_ms": "1335927991000",
"original_purchase_date_pst": "2012-05-01 20:06:31 America\/Los_Angeles",
"transaction_id": "1000000060959714",
"quantity": "1",
"bid": "kh.com.ctn.plus",
"original_transaction_id": "1000000046496076",
"bvrs": "1.0.0",
"expires_date_formatted": "2012-12-26 17:18:26 Etc\/GMT",
"purchase_date": "2012-12-26 17:03:26 Etc\/GMT",
"expires_date": "1356542306000",
"product_id": "kh.com.ctn.plus.iap.ars.months.03",
"purchase_date_ms": "1356541406000",
"expires_date_formatted_pst": "2012-12-26 09:18:26 America\/Los_Angeles",
"purchase_date_pst": "2012-12-26 09:03:26 America\/Los_Angeles",
"original_purchase_date": "2012-05-02 03:06:31 Etc\/GMT",
"item_id": "522272546",
"web_order_line_item_id": "1000000026503981",
"unique_identifier": "b0102868"
}
}
@gabrielgio
Copy link

Thanks that helped a lot, I just hope this is still valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment