我需要从 Apple 服务器返回的交易收据中获取到期日期。
请帮我从中获取所需的信息。最新的收据信息和收据也有到期日期和其他信息。我应该使用哪个。
我还需要在插入我的 php 服务器之前转换购买日期吗?如果是这样,我需要把它放在哪个时区。
我的问题可能看起来像是垃圾问题。请多多包涵。
非常感谢
“收据”:{“ ointer_purchase_date_pst”:“ 2012-07-24 05:41:19 America/los_angeles”,“ simelo_endentifier”:“ 46F070C011E011E0117BC168AEE9D39D39D3901DCF961DCF961F88C08C08C08C09333333333333333333333YDARSACTION? transaction_id":"1000000053343936", "quantity":"1", "product_id":"com.XX.XXX", "original_purchase_date_ms":"1343133679239", "bid":"com.XX.XXX", "web_order_line_item_id" :"1000000026126403", "bvrs":"1.0", "expires_date_formatted":"2012-07-24 13:11:18 Etc/GMT", "purchase_date":"2012-07-24 12:41:18 Etc/ GMT", "purchase_date_ms":"1343133678998", "expires_date_formatted_pst":"2012-07-24 06:11:18 America/Los_Angeles", "purchase_date_pst":"2012-07-24 05:41:18 America/Los_Angeles", "original_purchase_date":"2012- 07-24 12:41:19 Etc/GMT", "item_id":"547592716"}, "latest_receipt_info":{"original_purchase_date_pst":"2012-07-24 05:41:19 America/Los_Angeles", "unique_identifier" :“46f070c011e0da17bc168ae9d3901dcf961f8c09”,“original_transaction_id”:“1000000053343936”,“expires_date”:“1343135478000”,“transaction_id”:“1000000053343936”,“产品编号:”XX.1 original_purchase_date_ms":"1343133679000", "bid":"com.XX.XXX", "web_order_line_item_id":"1000000026126403", "bvrs":"1.0", "expires_date_formatted":"2012-07-24 13:11:18 Etc/GMT" , "purchase_date":"2012-07-24 12:41:18 Etc/GMT", "purchase_date_ms":"1343133678000", "expires_date_formatted_pst":"2012-07-24 06:11:18 America/Los_Angeles", " purchase_date_pst":"2012-07-24 05:41:18 America/Los_Angeles", "original_purchase_date":"2012-07-24 12:41:19 Etc/GMT", "item_id":"547592716"}, "状态":0, "latest_receipt":"ewoJInNpZ25hdHVyZSIgPSAiQWgvbnBVK2liUWpHR3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