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
When an android subscription is cancelled, iap.isCancelled() returns false. Looking at the PurchaseItem response, there is no field called cancellationDate for android. Shouldn't the code below be checking for userCancellationTimeMillis for Android instead of cancellationDate? Same goes for isExpired() function.
You're absolutely right. I was wondering the same thing while validating my Android subscriptions.
Possibly the Google API changed and @voltrue2 hasn't noticed or hasn't had the time to update.
For the time being, I added an additional validator for android.
Cancellation Issue:
Platform: Android
Description:
When an android subscription is cancelled,
iap.isCancelled()
returns false. Looking at the PurchaseItem response, there is no field called cancellationDate for android. Shouldn't the code below be checking foruserCancellationTimeMillis
for Android instead of cancellationDate? Same goes for isExpired() function.I haven't checked for IOS.
in-app-purchase/index.js
Line 261 in e966ee1
An example subscriptionResponse:
{
The text was updated successfully, but these errors were encountered: