From ca39d444687f24717cd666dd4438f0da5efbd5a7 Mon Sep 17 00:00:00 2001 From: nov Date: Fri, 31 Oct 2014 15:34:50 +0900 Subject: [PATCH] add missing file --- .../array_of_latest_receipt_info.json | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 spec/fake_json/array_of_latest_receipt_info.json diff --git a/spec/fake_json/array_of_latest_receipt_info.json b/spec/fake_json/array_of_latest_receipt_info.json new file mode 100644 index 0000000..31edad1 --- /dev/null +++ b/spec/fake_json/array_of_latest_receipt_info.json @@ -0,0 +1,135 @@ +{ + "environment": "Sandbox", + "latest_receipt": "BASE64ENCODED RECEIPT WAS HERE", + "latest_receipt_info": [{ + "expires_date": "2014-11-12 15:10:33 Etc/GMT", + "expires_date_ms": "1415805033000", + "expires_date_pst": "2014-11-12 07:10:33 America/Los_Angeles", + "is_trial_period": "true", + "original_purchase_date": "2014-11-12 15:07:34 Etc/GMT", + "original_purchase_date_ms": "1415804854000", + "original_purchase_date_pst": "2014-11-12 07:07:34 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:25:30 Etc/GMT", + "purchase_date_ms": "1415805930044", + "purchase_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131413546", + "web_order_line_item_id": "1000000028817186" + }, { + "expires_date": "2014-11-12 15:15:33 Etc/GMT", + "expires_date_ms": "1415805333000", + "expires_date_pst": "2014-11-12 07:15:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:08:34 Etc/GMT", + "original_purchase_date_ms": "1415804914000", + "original_purchase_date_pst": "2014-11-12 07:08:34 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:25:30 Etc/GMT", + "purchase_date_ms": "1415805930044", + "purchase_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131413602", + "web_order_line_item_id": "1000000028817187" + }, { + "expires_date": "2014-11-12 15:20:33 Etc/GMT", + "expires_date_ms": "1415805633000", + "expires_date_pst": "2014-11-12 07:20:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:14:15 Etc/GMT", + "original_purchase_date_ms": "1415805255000", + "original_purchase_date_pst": "2014-11-12 07:14:15 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:25:30 Etc/GMT", + "purchase_date_ms": "1415805930044", + "purchase_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131414118", + "web_order_line_item_id": "1000000028817195" + }, { + "expires_date": "2014-11-12 15:25:33 Etc/GMT", + "expires_date_ms": "1415805933000", + "expires_date_pst": "2014-11-12 07:25:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:18:35 Etc/GMT", + "original_purchase_date_ms": "1415805515000", + "original_purchase_date_pst": "2014-11-12 07:18:35 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:25:30 Etc/GMT", + "purchase_date_ms": "1415805930044", + "purchase_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131415612", + "web_order_line_item_id": "1000000028817228" + }, { + "expires_date": "2014-11-12 15:30:33 Etc/GMT", + "expires_date_ms": "1415806233000", + "expires_date_pst": "2014-11-12 07:30:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:23:35 Etc/GMT", + "original_purchase_date_ms": "1415805815000", + "original_purchase_date_pst": "2014-11-12 07:23:35 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:25:30 Etc/GMT", + "purchase_date_ms": "1415805930044", + "purchase_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131415863", + "web_order_line_item_id": "1000000028817256" + }], + "receipt": { + "adam_id": 0, + "app_item_id": 0, + "application_version": "1.0", + "bundle_id": "com.musteus.musteus", + "download_id": 0, + "in_app": [{ + "expires_date": "2014-11-12 15:15:33 Etc/GMT", + "expires_date_ms": "1415805333000", + "expires_date_pst": "2014-11-12 07:15:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:08:34 Etc/GMT", + "original_purchase_date_ms": "1415804914000", + "original_purchase_date_pst": "2014-11-12 07:08:34 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:09:10 Etc/GMT", + "purchase_date_ms": "1415804950000", + "purchase_date_pst": "2014-11-12 07:09:10 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131413602", + "web_order_line_item_id": "1000000028817187" + }, { + "expires_date": "2014-11-12 15:10:33 Etc/GMT", + "expires_date_ms": "1415805033000", + "expires_date_pst": "2014-11-12 07:10:33 America/Los_Angeles", + "is_trial_period": "false", + "original_purchase_date": "2014-11-12 15:07:34 Etc/GMT", + "original_purchase_date_ms": "1415804854000", + "original_purchase_date_pst": "2014-11-12 07:07:34 America/Los_Angeles", + "original_transaction_id": "1000000131413546", + "product_id": "com.musteus.musteus.subscription.month", + "purchase_date": "2014-11-12 15:09:10 Etc/GMT", + "purchase_date_ms": "1415804950000", + "purchase_date_pst": "2014-11-12 07:09:10 America/Los_Angeles", + "quantity": "1", + "transaction_id": "1000000131413546", + "web_order_line_item_id": "1000000028817186" + }], + "original_application_version": "1.0", + "original_purchase_date": "2013-08-01 07:00:00 Etc/GMT", + "original_purchase_date_ms": "1375340400000", + "original_purchase_date_pst": "2013-08-01 00:00:00 America/Los_Angeles", + "receipt_type": "ProductionSandbox", + "request_date": "2014-11-12 15:25:30 Etc/GMT", + "request_date_ms": "1415805930053", + "request_date_pst": "2014-11-12 07:25:30 America/Los_Angeles", + "version_external_identifier": 0 + }, + "status": 0 +}