iOS in app-purchase receipt validation - sandbox vs production url?

前端 未结 3 1419
无人及你
无人及你 2021-01-03 00:59

I followed Ray Wenderlich\'s tutorial to implement receipt validation in my app. The code connects to Apple\'s validation server directly from my app rather than going thro

3条回答
  •  日久生厌
    2021-01-03 01:57

    It could fail. I had an app with in app purchases (but not based on my server, straight apple code) that work in development but crashed once released by Apple. It crashed because I had not done all the proper steps in iTunes Connect.

    The surprising thing was that the reviewers didn't catch this, presumably since they were also working in a sandboxed environment.

    I'm not sure this helps you, hope it does.

提交回复
热议问题