Current answer - there is no way to do it. Sad, but truth.
How to test autorenewal subscriptions on Android
-
01-06-2022 - |
Question
I would like to add a autorenewal subscriptions to my Android app. All code is implemented and passed basic tests, but there is one important use case - I need to ensure, that renewal process (monthly payment) works fine. My server side is responsible for checking of purchase status using Google APIs and I don`t want to wait 1 months in order to check how it works in different cases.
Apple provides a sandbox, where I can configure subscription (its possible to have subscription for 1 minutes and so on). Does Google provides something similar (sandbox, test API, etc.) that might help to verify described case?
Thanks, Alex
La solution
Autres conseils
Google Play has already implemented a sandbox to test subscriptions and issue purchases. You need to publish your app in beta and after a few hours of doing that the test users(added in Google Play dev console) can make test purchases(these are not charged) in your app. They can even make subscription test purchases. A test subscription automatically renews every day(until canceled from Google Play) irrespective of the subscription duration.
http://developer.android.com/google/play/billing/billing_testing.html
Also see this: Testing Android IAP/In-App Purchase Subscriptions