Migrating ios In App Purchase Verification -
i build ios app in ios 6. i'm trying migrate ios 7+ / ios 8, , i'm having trouble in-app purchase verification.
the verification done server side. after each purchases, send skpaymenttransaction.transactionreceipt base64 string server (nodejs), uses iap_verifier (https://github.com/pcrawfor/iap_verifier) verify receipt.
since skpaymenttransaction.transactionreceipt depricated, want change new nsbundle.appstorereceipturl, however, when send receipt server verification, apple verification says invalid. comparing base64 string of transacationreceipt , appstorereceipt , different, appstorereceipt being bigger.
how verify single in-app purchase receipt new method?
are sure it's not sandbox/production issue?
check page, question 15: url should use verify receipt ?
and make sure not hit wrong environment. check base64 encoding different tool make sure don't use buggy encoding function.
Comments
Post a Comment