Saturday 13 December 2014

Testing IAP/In-App Purchase Subscriptions with Google Play/Android



To test the app auto-renewing subscription product type done the following:
  • Uploaded a draft binary to Google Play but not published it. 
  • Created and published the Subscription product in the developer console. 
  • Added my Google account to the list of test accounts in the developer console 
  • Exported my APK from eclipse (with the same package name and version name/code as the one uploaded to Google Play) 
  • Installed this exported APK on my test device which is logged in with the test account.

5 comments:

  1. http://developer.android.com/google/play/billing/billing_reference.html

    ReplyDelete
  2. https://code.google.com/p/android-test-billing/wiki/HowToValidatePurchaseInPhp

    ReplyDelete
  3. http://stackoverflow.com/questions/16871115/restore-transaction-inapp-purchase-android

    ReplyDelete
  4. https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get

    ReplyDelete
  5. https://github.com/google/google-api-php-client/blob/master/src/Google/Service/AndroidPublisher.php

    ReplyDelete