作者whitefur (白毛)
看板MacDev
標題Re: [問題]IAP交易驗證
時間Thu Jul 17 14:47:07 2014
檢查一下你送的URL對不對
sandbox跟production要送不一樣的URL
What url should I use to verify my receipt ?
Use the sandbox URL
https://sandbox.itunes.apple.com/verifyReceipt while testing your application in the sandbox and while your application is in review.
Use the production URL
https://buy.itunes.apple.com/verifyReceipt once your application is live in the App Store.
https://developer.apple.com/library/ios/technotes/tn2259/_index.html#//apple_ref/doc/uid/DTS40009578-CH1-FREQUENTLY_ASKED_QUESTIONS
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.230.64.215
※ 文章網址: http://www.ptt.cc/bbs/MacDev/M.1405579630.A.E3B.html
※ 編輯: whitefur (61.230.64.215), 07/17/2014 14:48:14
推 Cartel117:我是送到sandbox去做測試 07/17 15:48
→ whitefur:error code? 07/17 16:08
→ Cartel117:21002 07/18 10:05
→ Cartel117:不過改用google的插件 postman 可以驗證成功 07/18 10:06
→ whitefur:http POST 的 content-type 要指定 application/json 07/18 14:57