public
Last active

Responses from verifying receipts with Apple's receipt validation server

  • Download Gist
latest_receipt-base64-decoded.plist
XML
1 2 3 4 5 6 7
{
"signature" = "AkYuPMDg5n9y40Q/jWOO/UNJyFAo3cO+oRjIZIKYt7/M05EyXqJNHJGPQnmda4Zy0BqGsz1m2fpSJQatT03V/b0TfAr4+p8bofURjCLY9NX36LCgWDjwS1SxRao+4ek72q53MeGVSkGoy5E27jSz5P2fQds8PvwPid3Dx3O594/wAAADVzCCA1MwggI7oAMCAQICCGUUkU3ZWAS1MA0GCSqGSIb3DQEBBQUAMH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEzMDEGA1UEAwwqQXBwbGUgaVR1bmVzIFN0b3JlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA5MDYxNTIyMDU1NloXDTE0MDYxNDIyMDU1NlowZDEjMCEGA1UEAwwaUHVyY2hhc2VSZWNlaXB0Q2VydGlmaWNhdGUxGzAZBgNVBAsMEkFwcGxlIGlUdW5lcyBTdG9yZTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMrRjF2ct4IrSdiTChaI0g8pwv/cmHs8p/RwV/rt/91XKVhNl4XIBimKjQQNfgHsDs6yju++DrKJE7uKsphMddKYfFE5rGXsAdBEjBwRIxexTevx3HLEFGAt1moKx509dhxtiIdDgJv2YaVs49B0uJvNdy6SMqNNLHsDLzDS9oZHAgMBAAGjcjBwMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUNh3o4p2C0gEYtTJrDtdDC5FYQzowDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSpg4PyGUjFPhJXCBTMzaN+mV8k9TAQBgoqhkiG92NkBgUBBAIFADANBgkqhkiG9w0BAQUFAAOCAQEAEaSbPjtmN4C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MDg6MTU6NTQgRXRjL0dNVCI7CgkicHJvZHVjdC1pZCIgPSAiY29tLmRfX2J1enouZ2FnX3BsdXMuaW9zLjAwMS5hcnMucHJlbWl1bS4xeSI7CgkicHVyY2hhc2UtZGF0ZSIgPSAiMjAxMi0xMi0wMiAwNzoxNTo1NCBFdGMvR01UIjsKCSJvcmlnaW5hbC1wdXJjaGFzZS1kYXRlIiA9ICIyMDEyLTEyLTAyIDA3OjE1OjU0IEV0Yy9HTVQiOwoJImJpZCIgPSAiY29tLmQtLWJ1enouZ2FnLXBsdXMuaW9zLjAwMSI7CgkicHVyY2hhc2UtZGF0ZS1wc3QiID0gIjIwMTItMTItMDEgMjM6MTU6NTQgQW1lcmljYS9Mb3NfQW5nZWxlcyI7CgkicXVhbnRpdHkiID0gIjEiOwp9";
"environment" = "Sandbox";
"pod" = "100";
"signing-status" = "0";
}
purchase-info.plist
XML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
"original-purchase-date-pst" = "2012-12-01 23:15:54 America/Los_Angeles";
"purchase-date-ms" = "1354432554000";
"unique-identifier" = "0000b0092818";
"original-transaction-id" = "1000000059632385";
"expires-date" = "1354436154000";
"transaction-id" = "1000000059632385";
"original-purchase-date-ms" = "1354432554000";
"web-order-line-item-id" = "1000000026436290";
"bvrs" = "7";
"expires-date-formatted-pst" = "2012-12-02 00:15:54 America/Los_Angeles";
"item-id" = "580193937";
"expires-date-formatted" = "2012-12-02 08:15:54 Etc/GMT";
"product-id" = "com.d__buzz.gag_plus.ios.001.ars.premium.1y";
"purchase-date" = "2012-12-02 07:15:54 Etc/GMT";
"original-purchase-date" = "2012-12-02 07:15:54 Etc/GMT";
"bid" = "com.d--buzz.gag-plus.ios.001";
"purchase-date-pst" = "2012-12-01 23:15:54 America/Los_Angeles";
"quantity" = "1";
}
responseObject.iap.ars.json
JSON
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
{
"status": 0,
"latest_receipt_info": {
"original_purchase_date_ms": "1354432554000",
"original_purchase_date_pst": "2012-12-01 23:15:54 America\/Los_Angeles",
"transaction_id": "1000000059632385",
"quantity": "1",
"bid": "com.d--buzz.gag-plus.ios.001",
"original_transaction_id": "1000000059632385",
"bvrs": "7",
"expires_date_formatted": "2012-12-02 08:15:54 Etc\/GMT",
"purchase_date": "2012-12-02 07:15:54 Etc\/GMT",
"expires_date": "1354436154000",
"product_id": "com.d__buzz.gag_plus.ios.001.ars.premium.1y",
"purchase_date_ms": "1354432554000",
"expires_date_formatted_pst": "2012-12-02 00:15:54 America\/Los_Angeles",
"purchase_date_pst": "2012-12-01 23:15:54 America\/Los_Angeles",
"original_purchase_date": "2012-12-02 07:15:54 Etc\/GMT",
"item_id": "580193937",
"web_order_line_item_id": "1000000026436290",
"unique_identifier": "0000b0092818"
},
"receipt": {
"original_purchase_date_ms": "1354432554000",
"original_purchase_date_pst": "2012-12-01 23:15:54 America\/Los_Angeles",
"transaction_id": "1000000059632385",
"quantity": "1",
"bid": "com.d--buzz.gag-plus.ios.001",
"original_transaction_id": "1000000059632385",
"bvrs": "7",
"expires_date_formatted": "2012-12-02 08:15:54 Etc\/GMT",
"purchase_date": "2012-12-02 07:15:54 Etc\/GMT",
"expires_date": "1354436154000",
"product_id": "com.d__buzz.gag_plus.ios.001.ars.premium.1y",
"purchase_date_ms": "1354432554000",
"expires_date_formatted_pst": "2012-12-02 00:15:54 America\/Los_Angeles",
"purchase_date_pst": "2012-12-01 23:15:54 America\/Los_Angeles",
"original_purchase_date": "2012-12-02 07:15:54 Etc\/GMT",
"item_id": "580193937",
"web_order_line_item_id": "1000000026436290",
"unique_identifier": "0000b0092818"
},
"latest_receipt": "ewoJInNpZ25hdHVyZSIgPSAiQWtZdVBNRGc1bjl5NDBRL2pXT08vVU5KeUZBbzNjTytvUmpJWklLWXQ3L00wNUV5WHFKTkhKR1BRbm1kYTRaeTBCcUdz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SUQwZ0lqRWlPd3A5IjsKCSJlbnZpcm9ubWVudCIgPSAiU2FuZGJveCI7CgkicG9kIiA9ICIxMDAiOwoJInNpZ25pbmctc3RhdHVzIiA9ICIwIjsKfQ=="
}
responseObject.iap.nc.json
JSON
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{
"status": 0,
"receipt": {
"original_purchase_date_ms": "1354030002000",
"original_purchase_date_pst": "2012-11-27 07:26:42 America\/Los_Angeles",
"bvrs": "7",
"transaction_id": "1000000059632383",
"quantity": "1",
"original_transaction_id": "1000000059318468",
"original_purchase_date": "2012-11-27 15:26:42 Etc\/GMT",
"bid": "com.d--buzz.gag-plus.ios.001",
"purchase_date": "2012-12-02 07:15:17 Etc\/GMT",
"purchase_date_pst": "2012-12-01 23:15:17 America\/Los_Angeles",
"product_id": "com.d__buzz.gag_plus.ios.001.nc.premium",
"purchase_date_ms": "1354432517000",
"item_id": "580191698",
"unique_identifier": "0000b0092818"
}
}
signature.pem
1
AkYuPMDg5n9y40Q/jWOO/UNJyFAo3cO+oRjIZIKYt7/M05EyXqJNHJGPQnmda4Zy0BqGsz1m2fpSJQatT03V/b0TfAr4+p8bofURjCLY9NX36LCgWDjwS1SxRao+4ek72q53MeGVSkGoy5E27jSz5P2fQds8PvwPid3Dx3O594/wAAADVzCCA1MwggI7oAMCAQICCGUUkU3ZWAS1MA0GCSqGSIb3DQEBBQUAMH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEzMDEGA1UEAwwqQXBwbGUgaVR1bmVzIFN0b3JlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA5MDYxNTIyMDU1NloXDTE0MDYxNDIyMDU1NlowZDEjMCEGA1UEAwwaUHVyY2hhc2VSZWNlaXB0Q2VydGlmaWNhdGUxGzAZBgNVBAsMEkFwcGxlIGlUdW5lcyBTdG9yZTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMrRjF2ct4IrSdiTChaI0g8pwv/cmHs8p/RwV/rt/91XKVhNl4XIBimKjQQNfgHsDs6yju++DrKJE7uKsphMddKYfFE5rGXsAdBEjBwRIxexTevx3HLEFGAt1moKx509dhxtiIdDgJv2YaVs49B0uJvNdy6SMqNNLHsDLzDS9oZHAgMBAAGjcjBwMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUNh3o4p2C0gEYtTJrDtdDC5FYQzowDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSpg4PyGUjFPhJXCBTMzaN+mV8k9TAQBgoqhkiG92NkBgUBBAIFADANBgkqhkiG9w0BAQUFAAOCAQEAEaSbPjtmN4C/IB3QEpK32RxacCDXdVXAeVReS5FaZxc+t88pQP93BiAxvdW/3eTSMGY5FbeAYL3etqP5gm8wrFojX0ikyVRStQ+/AQ0KEjtqB07kLs9QUe8czR8UGfdM1EumV/UgvDd4NwNYxLQMg4WTQfgkQQVy8GXZwVHgbE/UC6Y7053pGXBk51NPM3woxhd3gSRLvXj+loHsStcTEqe9pBDpmG5+sk4tw+GK3GMeEN5/+e1QT9np/Kl1nj+aBw7C0xsy0bFnaAd1cSS6xdory/CUvM6gtKsmnOOdqTesbp0bs8sn6Wqs0C9dgcxRHuOMZ2tm8npLUm7argOSzQ==

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.