validateReceiptIos method endpoints are deprecated by apple.
Description
I am using validateReceiptIos to validate receipts in ios, but they are deprecated now. Is there any update about this?
https://developer.apple.com/documentation/appstorereceipts/verifyreceipt#:~:text=Deprecated-,The%20verifyReceipt%20endpoint%20is%20deprecated,-.%20To%20validate%20receipts
How we handle this now and can we still verify receipt on device? Also is there any way through which we can check the refund status of auto-renew subscription which are refunded by apple directly in iOS.
Environment:
react-native-iap: 12.15.7 react-native: 0.74.0 Platforms (iOS, device):
Hi @Tarun24RN, did you has some alternative solutions now? I'm in that condition too.
Currently using in-app purchase type Product Consumable, I can't get getPurchaseHistory and IapIosSk2.latestTransaction, so I thought must validate the receipt first using validateReceiptIos but always got {"status": 21002}
I’m closing all issues reported in versions below 14, as the library now supports the new architecture with NitroModules and has been completely revamped.
You now need purchaseToken to validate receipt which is jwsRepresentation and this is for Storekit2 validation.