Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test In App Subscription in android

I've integrated In app purchase api(v3) in my existing app successfully. I've also created in app subscription in google play and added subscription id in code. In Google developer website i've read that to test in app purchase we need to add email id's in Settings section. So i've added test email id's there and saved it(please see the attached image). Then i've purchased the subscription successfully but money got deducted from my google wallet account. Is there any thing that i missed to configure in google play or am i doing any thing wrong. Please help me.

enter image description here

Thanks in advance.

like image 466
Ramesh Avatar asked Oct 09 '14 12:10

Ramesh


2 Answers

I found the answer to my question. We can't test in app subscriptions, but we can test in app products. So we can test it as real transaction using google wallet then we can refund that amount and cancel the subscription in google merchant account. This way we can test in app subscriptions.

enter image description here

like image 95
Ramesh Avatar answered Oct 20 '22 14:10

Ramesh


In Google devloper account in setting-->ACCOUNT DETAILS--->LICENSE TESTING add testing user email id with comma for more than one testers

  1. Publish your app in Alpha Mode
  2. Again Add testers email id in OPEN ALPHA TESTING or CLOSED ALPHA TESTING At ALPHA CONFIGURATION SECTION-->MANAGE TESTERS
  3. You will get Opt-in URL =https://play.google.com/apps/testing/Your package name just share it with the Testers
  4. Tester will get link to download app ,just download apk and test subscription
  5. First of all it will ask for card information just put information don't worry it will not charged for Alpha Testing transactions
like image 31
Dayanand Waghmare Avatar answered Oct 20 '22 16:10

Dayanand Waghmare