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 have a iap subscription which is autorenewable. I validate the receipt using sibelius/iap-receipt-validator based on availability of the latest_receipt_info field in validate data and expires_date in that. I tried to validate like
This works absolutely fine in sandbox and in testflight app version.
But the same code fails in production. I really cannot understand why. In production i purchase auto renewable subscription, and when i try to validate using below, it throws unable to evaluate validationData['latest_receipt_info'][0].expires_date.
Hi,
I have a iap subscription which is autorenewable. I validate the receipt using sibelius/iap-receipt-validator based on availability of the latest_receipt_info field in validate data and expires_date in that. I tried to validate like
validationData['latest_receipt_info'][0].expires_date > today
This works absolutely fine in sandbox and in testflight app version.
But the same code fails in production. I really cannot understand why. In production i purchase auto renewable subscription, and when i try to validate using below, it throws unable to evaluate validationData['latest_receipt_info'][0].expires_date.
Could you please help.
The text was updated successfully, but these errors were encountered: