作者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://webptt.com/cn.aspx?n=bbs/MacDev/M.1405579630.A.E3B.html
※ 编辑: whitefur (61.230.64.215), 07/17/2014 14:48:14
1F:推 Cartel117:我是送到sandbox去做测试 07/17 15:48
2F:→ whitefur:error code? 07/17 16:08
3F:→ Cartel117:21002 07/18 10:05
4F:→ Cartel117:不过改用google的插件 postman 可以验证成功 07/18 10:06
5F:→ whitefur:http POST 的 content-type 要指定 application/json 07/18 14:57