iOS 7 Local (on device) Receipt Validation and In-App Purchases Check

前端 未结 5 689
粉色の甜心
粉色の甜心 2021-02-01 05:38

I have implemented receipt validation locally on the device using OpenSSL and the asn1c compiler with help from Apple\'s Receipt Validation Programming Guide. My app only suppor

5条回答
  •  遥遥无期
    2021-02-01 06:29

    I've deleted my previous response, I had misunderstood the question.

    I believe you are doing everything right and Apple is confused about its own guidelines, to be honest. After all, in the Receipt Validation Programming Guide, they advise clearly: "If validation fails in iOS, use the SKReceiptRefreshRequest class to refresh the receipt" and there is no way to influence to what server this call is made (SKReceiptRefreshRequest reference)

    According to http://asciiwwdc.com/2013/sessions/308, what server is called depends on how the app is signed, and it needs to be signed for production upon submission, obviously.

提交回复
热议问题