1

我正在使用应用程序购买中的自动可再生订阅,在验证苹果购买收据后,我得到以下回复。latest_receipt_info现在和有什么区别receiptorignal_purchase_date和有什么区别purchase_date


{
    "latest_receipt" = "ewoJInNpZ25hdHVyZSIgPSAiQXBadmlLOGhlTGVQV1o3bjNsRysrcSt6cm5pUG51VnVwVkxaaGx5bjVCMzVnTWZIVGVZMnVnbkkxRUpEMlpqZm5PL3hQSVJRQWU1QmZ1SzluUVlLNnIzZXpBQW9zR1lYc3RyeW9GenRBM1NtUitNYmhwNjg2T2ZTejE3L0gzK0ZmK3JjKzUvaSttWUljZENYZ0plUXh4Y3V0cVdNTExaNGFhT0ZVa2NRaXZCUEFBQURWekNDQTFNd2dnSTdvQU1DQVFJQ0NHVVVrVTNaV0FTMU1BMEdDU3FHU0liM0RRRUJCUVVBTUg4eEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUtEQXBCY0hCc1pTQkpibU11TVNZd0pBWURWUVFMREIxQmNIQnNaU0JEWlhKMGFXWnBZMkYwYVc5dUlFRjFkR2h2Y21sMGVURXpNREVHQTFVRUF3d3FRWEJ3YkdVZ2FWUjFibVZ6SUZOMGIzSmxJRU5sY25ScFptbGpZWFJwYjI0Z1FYVjBhRzl5YVhSNU1CNFhEVEE1TURZeE5USXlNRFUxTmxvWERURTBNRFl4TkRJeU1EVTFObG93WkRFak1DRUdBMVVFQXd3YVVIVnlZMmhoYzJWU1pXTmxhWEIwUTJWeWRHbG1hV05oZEdVeEd6QVpCZ05WQkFzTUVrRndjR3hsSUdsVWRXNWxjeUJUZEc5eVpURVRNQkVHQTFVRUNnd0tRWEJ3YkdVZ1NXNWpMakVMTUFrR0ExVUVCaE1DVlZNd2daOHdEUVlKS29aSWh2Y05BUUVCQlFBRGdZMEFNSUdKQW9HQkFNclJqRjJjdDRJclNkaVRDaGFJMGc4cHd2L2NtSHM4cC9Sd1YvcnQvOTFYS1ZoTmw0WElCaW1LalFRTmZnSHNEczZ5anUrK0RyS0pFN3VLc3Bo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VnUlhSakwwZE5WQ0k3Q2draVltbGtJaUE5SUNKamIyMHVZMkZ1Wkdsa1RXRnlhMlYwTG1OdmJTSTdDZ2tpY0hWeVkyaGhjMlV0WkdGMFpTMXdjM1FpSUQwZ0lqSXdNVEl0TVRJdE1UWWdNREk2TkRrNk5EVWdRVzFsY21sallTOU1iM05mUVc1blpXeGxjeUk3Q2draWNYVmhiblJwZEhraUlEMGdJakVpT3dwOSI7CgkiZW52aXJvbm1lbnQiID0gIlNhbmRib3giOwoJInBvZCIgPSAiMTAwIjsKCSJzaWduaW5nLXN0YXR1cyIgPSAiMCI7Cn0=";
    "latest_receipt_info" =     
    {
        bid = "com.candidMarket.com";
        bvrs = "1.0";
        "expires_date" = 1355655285000;
        "expires_date_formatted" = "2012-12-16 10:54:45 Etc/GMT";
        "expires_date_formatted_pst" = "2012-12-16 02:54:45 America/Los_Angeles";
        "item_id" = 588124128;
        "original_purchase_date" = "2012-12-16 07:23:11 Etc/GMT";
        "original_purchase_date_ms" = 1355642591000;
        "original_purchase_date_pst" = "2012-12-15 23:23:11 America/Los_Angeles";
        "original_transaction_id" = 1000000060542119;
        "product_id" = candidMarket101;
        "purchase_date" = "2012-12-16 10:49:45 Etc/GMT";
        "purchase_date_ms" = 1355654985000;
        "purchase_date_pst" = "2012-12-16 02:49:45 America/Los_Angeles";
        quantity = 1;
        "transaction_id" = 1000000060544594;
        "unique_identifier" = 2cc1d763f86c47ffe24b1ac9f351c3ae126c8144;
        "web_order_line_item_id" = 1000000026481135;
    };
    receipt =     
    {
        bid = "com.candidMarket.com";
        bvrs = "1.0";
        "expires_date" = 1355643190000;
        "expires_date_formatted" = "2012-12-16 07:33:10 Etc/GMT";
        "expires_date_formatted_pst" = "2012-12-15 23:33:10 America/Los_Angeles";
        "item_id" = 588124128;
        "original_purchase_date" = "2012-12-16 07:23:11 Etc/GMT";
        "original_purchase_date_ms" = 1355642591000;
        "original_purchase_date_pst" = "2012-12-15 23:23:11 America/Los_Angeles";
        "original_transaction_id" = 1000000060542119;
        "product_id" = candidMarket101;
        "purchase_date" = "2012-12-16 07:28:10 Etc/GMT";
        "purchase_date_ms" = 1355642890000;
        "purchase_date_pst" = "2012-12-15 23:28:10 America/Los_Angeles";
        quantity = 1;
        "transaction_id" = 1000000060542139;
        "unique_identifier" = 2cc1d763f86c47ffe24b1ac9f351c3ae126c8144;
        "web_order_line_item_id" = 1000000026481035;
    };
    status = 0;
}
4

1 回答 1

1

收据字段似乎包含第一个receipt信息,并且latest_receipt_info包含最新交易的收据。我正在等待续订以确认这一点。

假设这一点,第一笔交易将有这两个字段相同。

他们应该在更新时有所不同

original_purchase_date是订阅开始的日期(用户成功订阅),purchase_date是最后一张发票发生的日期(例如续订)。如果是第一次交易(用户第一次订阅的情况),两者几乎相同。如收据数据所示

于 2013-04-23T19:27:06.790 回答