Search code examples
androidtestingin-app-billingsubscriptions

How do I test my auto-renewing subscriptions with In-app Billing API version 3 in my Android app?


Android suggests to migrate in-app billing from API v2 to v3.

http://developer.android.com/google/play/billing/v2/api.html

Android suggests that in-app billing API v3 now supports subscriptions.

http://developer.android.com/google/play/billing/api.html

Android suggests that there are still testing and real purchases.

http://developer.android.com/google/play/billing/billing_testing.html

If you read further down, there are requirements for test purchases:

Test purchases are only supported for in-app products, not for in-app subscriptions.

So how do we test in-app subscriptions in IAB v3?


Solution

  • The only way to test it is to actually purchase a monthly or a yearly subscription and wait until subscription expires (month/year + trial period).