筆記國度

在這裡放著一些我自己的筆記

使用 Chrome 的 POSTMAN 來手動確認 Apple IAP 訂單

| Comments

處理玩家客訴的時候會用到。

安裝 POSTMAN

開始驗證資料

  • 網址:https://buy.itunes.apple.com/verifyReceipt
  • 協定選擇 POST
  • 取得 receipt-data
{
    "signature" = "ApdxJdtNwPU2rA5/cn3kIO1OTk25feDKa0aagyyRveWlcFlglv6RF6znkiBS3um9Uc7pVob+PqZR2T8wyVrHNplof3DX3IqDOlWq+90a7Yl+qrR7A7jWwviw708PS+67PyHRnhO/G7bVqgRpEr6EuFybiU1FXAiXJc6ls1YAssQxAAADVzCCA1MwggI7oAMCAQICCGUUkU3ZWAS1MA0GCSqGSIb3DQEBBQUAMH8xCzAJBgNVBAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEzMDEGA1UEAwwqQXBwbGUgaVR1bmVzIFN0b3JlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA5MDYxNTIyMDU1NloXDTE0MDYxNDIyMDU1NlowZDEjMCEGA1UEAwwaUHVyY2hhc2VSZWNlaXB0Q2VydGlmaWNhdGUxGzAZBgNVBAsMEkFwcGxlIGlUdW5lcyBTdG9yZTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMrRjF2ct4IrSdiTChaI0g8pwv/cmHs8p/RwV/rt/91XKVhNl4XIBimKjQQNfgHsDs6yju++DrKJE7uKsphMddKYfFE5rGXsAdBEjBwRIxexTevx3HLEFGAt1moKx509dhxtiIdDgJv2YaVs49B0uJvNdy6SMqNNLHsDLzDS9oZHAgMBAAGjcjBwMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUNh3o4p2C0gEYtTJrDtdDC5FYQzowDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSpg4PyGUj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2TlRRNk16VWdRVzFsY21sallTOU1iM05mUVc1blpXeGxjeUk3Q24wPSI7DQoJInBvZCIgPSAiMTciOw0KCSJzaWduaW5nLXN0YXR1cyIgPSAiMCI7DQp9"
}
  • 選擇 body 分頁
  • 選擇 raw 屬性
  • 貼上 JSON 資料
  • 送出資料

  • 選擇 JSON 格式的輸出

備註

這個訂單資料是來自免費內購的破解軟體的訂單資料,故不做隱碼處理。

Comments

comments powered by Disqus