What is the proper reserved product identifier for testing an Android app subscription?

In the Google Documentation on “Testing Billing in Applications ”, there are four reserved product identifiers that will be used to test applications in the application. billing and subscription services:

  • android.test.purchased
  • android.test.canceled
  • android.test.refunded
  • android.test.item_unavailable

What is a reserved product identifier that we can use to test end-to-end applications in an application that Google introduced last week? android.test.purchased applies only to the inapp product type and not to the subs product type.

+5
source share
1 answer

I can test application subscriptions by creating an inexpensive test subscription that only appears in debug builds (but in all other cases it is a valid product on Google Play). Using the test account described here , I can purchase a subscription product and check through.

Here's what he says about test accounts:

Google Play. , Google . , . .

, , . , .

, Google Google Wallet Merchant . , , .

0

All Articles