Skip to main content

We have been using subscriptions on Android and iOS for a while now with only an annual option, and that has been working fine.  We are adding a monthly option, and during Android testing have noticed that if I cancel a yearly subscription, then attempt to purchase another subscription (yearly or monthly), I see the following error: 

PlatformException(6, This product is already active for the user., {code: 6, message: This product is already active for the user., readableErrorCode: ProductAlreadyPurchasedError, readable_error_code: ProductAlreadyPurchasedError, underlyingErrorMessage: Error updating purchases. DebugMessage: . ErrorCode: 7., userCancelled: false}, null). 

Any ideas?  This is a production test scenario, on a physical phone with a valid google play account.  We are only testing Android at this time.

Thanks!

Maybe I should add...I think the desired behavior here is to be able to cancel a yearly subscription and then purchase a monthly.  Is this not a recommended flow?  

Also thinking...in this case the user has cancelled their subscription via Play, but since it is annual, they still have access to to the entitlements until the end of the year.  In this window (cancelled but still ‘active’) should we not be offering any subscriptions to them at all?

 


There are a few different options for changing a subscription in Google. Are you using a particular proration mode in this case, or just the default?


Just the default non-prorated for now.  


Reply