I'm trying to use xcode 12 beta 2/3 to test my in app purchases using store kit testing, by following the instructions here:
https://developer.apple.com/documentation/xcode/setting_up_storekit_testing_in_xcode
The link says "StoreKit testing in Xcode generates locally signed receipts that your app must validate locally. "
Does anyone have a working example of how to validate one of those receipts? I'm having trouble parsing the ASN.1 bit, and the same code works no problem with production receipts. I'm aware of the different cert, haven't even got to the part of using it.
Thank you
Post
Replies
Boosts
Views
Activity
I submitted a feedback about this, FB8900814, but thought i'd ask here. It seems that purchase revocation / cancelling is broken in storekit test in xcode 12.2. Code runs fine in 12.1.
Steps to reproduce: Subscribe
Cancel transaction / revoke
Revocation callback not triggered
Receipt still says we're subscribed.
Anyone else noticing this?