ios - IOS7 verify iap receipt, What's the in_app filed mean? -


The app does an IAP, and send the receipt to my server, to verify my server receipt, Sends on / P>

IOS7 has changed return data

Now, such returns data:

  {u'environment ': u'sandbox', u 'Receipt': {u'adam_id ': 0, you' ap_item_id ': 0, you' application_version ': u'i.0', you 'bundle_id': you 'com Mjitiims Songuintrneshnl 'U' Daunlod_aidi ": 0, U'in_ap ': [[U'ais_trial_prirod': u'false ', u'original_purchase_date': u'2014-10-24 06:54:20 Etc / GMT" u'original_purchase_date_ms': u'1414133660000 ', u'original_purchase_date_pst': u'2014-10-23 23:54:20 US / Los_anjls, U'riginl_tronjhakshn_aidi ': U'l000000l28944402' U 'Product_id': u'com .mztimes.sanguo.international.60gold ', u'purchase_date': u'2014-10-28 01:56:45 ET / GMT, U'purke_data_ms: U '1414461405000', 'Buy_date_pst': u'2014- 10-27 18:56:45 Americas / Los_Agellas', Euclidity ': u'1', u'transaction_id ': u'1000000128944402'}, {u'is_tri al_period ': u'false', u'original_purchase_date ': u'2014-10-24 06:52:30 Etc / GMT', u'original_purchase_date_ms ': u'1414133550000', u'original_purchase_date_pst ': 23:52 u' 2014-10-23 30 US / Los_anjls, U'rigeni_tronjhakshn_aidi ': U'l000000l28944l96', 'Prodkt_aidi': 'U'comkmztimesksanguokinternationalk300gold, U'purchase_date': U'20l4-l0 -28 01:56:45 ET / GMT, U'purke_data_ms ': U' 1414461405000 ', U'purke_data_past': u'2014-10-27 18:56:45 America / Los_Angeles, 'u'quantity': u '1', u'transaction_id ': u'1000000128944196'} {u'is_trial_period ': u'false', u'original_purchase_date ': u'2014-10-28 01: 56:45 etc / GMT', u'original_purchase_date_ms ': U'1414461405000', u'original_purchase_date_pst ': u'2014-10-27 18:56:45 America / Los_Angeles', u' Original_transaction_id ': u'1000000129320617', U'product_id ': u'com.mztimes.sanguo.international.980gold', u'purchase_date ': u'2014-10-28 01:56:45 etc / GMT, u' Buy_date_ms ': u'1414461405000', u'purchase_date_pst: ': u'1', u'transaction_id ': u'1000000129320617, u'quantity' 18:56:45 America / Los_Angeles u'2014-10-27 ''} ], u'original_application_version ': u'1.0', u'original_purchase_date ': u'2013-08-01 07:00:00 etc / GMT', u'original_purchase_date_ms': u'1375340400000 ', u'original_purchase_date_pst': U '2013-08-01 00:00:00 America / Los_Angels', Urscept_type ': U' Production Sandbox ', U'recred_Date': U'2014-10-28 02:50:09 etc / GMT, U'request_date_ms ': U'1414464609873', u'request_date_pst ': u'2014-10-27 19:50:09 America / Los_Angeles', U_version_external_identifier': 0 }, U'status': 0}  

Look at the in_app field: The document says that:

in JSON file , The value of this key is in an array that contains all in-app purchase receipts. In the ASN.1 file, there are several fields in which all have 17 types, each of which has an in-app purchase receipt.

In many of my tests, the in_app list is the receipt information that I was sent to Apple's server. But what are the other two elements?

I send different receipts to verify, the other two elements are always the same.

Why is that so? help me!


Comments

Popular posts from this blog

Active Directory Authenticated Proxy Server with Squid or CNTLM -

java - @PluginTarget(Node.class) not registering as neo4j plugin -

python - Calculate STD manually using Groupby Pandas DataFrame -