You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the plugin uses the long ago deprecated transactionReceipt property on SKPaymentTransaction. It is actually deprecated since iOS 7.0 and can not be validated trough Apple Servers anymore for newer OS versions. I suggest the following implementation to obtain the receipt on iOS:
get transactionReceipt(): string {
const receiptData = NSData.dataWithContentsOfURL(NSBundle.mainBundle.appStoreReceiptURL);
if (receiptData) {
return receiptData.base64EncodedStringWithOptions(0);
}
return null;
}
The text was updated successfully, but these errors were encountered:
Hey, we have the same problem which keeps us using a different plugin instead of this one. Sadly, this is a deal-breaker for our company when iOS is not supported..
I think the plugin uses the long ago deprecated
transactionReceipt
property onSKPaymentTransaction
. It is actually deprecated since iOS 7.0 and can not be validated trough Apple Servers anymore for newer OS versions. I suggest the following implementation to obtain the receipt on iOS:The text was updated successfully, but these errors were encountered: