'Testing Google Play Subscriptions

I'm trying to test google play subscriptions for my app. Where I wanna test the payment and verify it on the backend.

Although I'm getting Response Code : OK, but the skudetails I'm getting is zero.

I added licensed testers in google play console and even added my apk for internal testing. But still no success.

I tried following this doc https://developer.android.com/google/play/billing/test#subs

But honestly it's confusing as I don't get any sku detail or payment popup to test it.

In some other stackoverflow threads I found that there are some static ids (like android.test.purchased) that I can use to test payments, but I can't find anything in official docs for subscriptions..

Need help :(



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source