Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing Android inapp subscription: You already own this subscription

I am testing Android inapp subscription with a test account, after I entered a real credit card to buy, the subscription is ok, but I cannot find the token in the json response.

So in the developer console, I cancelled the order, when I try to re-subscribe again, it now show me the alert "You already own this subscription".

When I click the "Detail" in the box, it opened the Play Store app, but showing "Item not found"

Anyone experienced this error before?

Thanks.

like image 242
Howard Avatar asked Nov 03 '22 20:11

Howard


2 Answers

i guess you might have solved the problem but take a look at this question Subscription sample missing JSON parsing of purchaseToken it this might be the case for JSON.

The reason you cannot re-subscribe i think is because you are already subscribed for that period. Your subscription will end when the billing cycle ends.

like image 111
Its not blank Avatar answered Nov 15 '22 01:11

Its not blank


Howard, the reason is that a subscription is active even after you cancel until the subscription period. It will continue to say that until the original subscription expires. I know, the Android implementation of subscriptions is really really kluegy. I've implemented in-app subs successfully on Android and have a lot of similar issues and one of them was you cannot re-purchase after cancelling if the item hasn't expired from it's original purchase date.

like image 37
vkinra Avatar answered Nov 15 '22 01:11

vkinra