I purchased a subscription (not a Managed Product
or Unmanaged Product
) yesterday to test, I refunded myself and then cancelled the subscription. After the refunding and cancelling, when I call:
m_billingService.getPurchases(3, m_context.getPackageName(), ITEM_TYPE_SUBS, null)
It would return my purchase with a purchase state of 0
(valid/ok). Today when I call the same method, it returns nothing. Yet when I try to purchase the item, google play store responds that I already own the item.
I've already restarted the android device, cleared the google play services cache and ensured only the test account is activate on my phone (i.e., I removed my google developer account).
The question has been asked before but always under the context of products and not subscriptions. The answer for those posts seem to be to "consume" the product; subscriptions are not consumed.