I am testing In-App Billing on a Samsung Galaxy Tab 2 7.0, and when I try to check whether billing is available, I always get the answer 3 - BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE (Billing API version is not supported for the type requested) .
int response = payService.isBillingSupported(3, getPackageName(), "inapp");
I created an application project, downloaded the signed APK in the developer's console, and added the test account email (in the LICENSE TESTING field in the control panel, which states that these accounts are also used for billing tests). In addition, my device uses this test account as the primary account. I am debugging an application in Eclipse.
Edit: checked also on HTC Evo 3D, same thing, answer always returns 3.
Edit: should the test account have a Google wallet or something else to test the application? My location is Serbia, could this be a problem?
What causes this problem and how to solve it?
Dusan source share