saturngod / IAPHelper

No more maintenance for this repo. Please use the https://github.com/bizz84/SwiftyStoreKit
MIT License
1.55k stars 280 forks source link

can't checkReceipt #35

Closed destinyxxl closed 7 years ago

destinyxxl commented 7 years ago

remind purchase succeed but checkReceipt with response code 21003 qq20160925-0

destinyxxl commented 7 years ago

Help !!!

saturngod commented 7 years ago

21003 - The receipt could not be authenticated.

I think , transactionReceipt is deprecated.

For receipt data, please use with

[NSData dataWithContentsOfURL:[[NSBundle mainBundle] appStoreReceiptURL]];

for iOS 7 or later

destinyxxl commented 7 years ago

@saturngod yes , it works! thank you !