Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing in-app-billing

I am trying to test in-app-billing application. Current version on the Android Market doesn't have in-app-billing feature.

When I upload my new version which is having in-app-billing feature as draft, i am getting error message that

"An unexpected error occurred. Please try again later. There are no in-app products for this application. New in-app products cannot be added because the current application version does not use the BILLING permission."

I've set all configurations "http://android-sdk.appspot.com/guide/market/billing/index.html"

I want to test in-app-billing before publish it. How to fix this issue?

like image 350
Ferdinand Avatar asked Apr 25 '11 08:04

Ferdinand


People also ask

What is in app purchase testing?

When you are testing in app purchases on Android, you must use a signed version of the app. Your Google Play email must be listed in the Google Play Console as a tester. The easiest way to do this is to publish your app to a Beta release with open testing.

How would you test in app purchases for a mobile application *?

Navigate to App Live. After signing in, the App Live dashboard will appear, displaying the list of real Android devices available for app testing. Upload the . apk file if the app to be tested is not published on Play Store.

How do I test app subscriptions on Android?

Open the Google Play app. Choose Account -> Subscriptions & Payments -> Subscriptions. Click your test subscription and change the payment method to “Test card, always declines.”


1 Answers

It is all said in your error message. add BILLING permission in your manifest file and upload your application the market(don't publish it, save as draft). Then add some items in your developers console.

Also, you can try to mention android.test.purchased as your product id, in that case market application always answer you, that item has been successfully purchased.

like image 103
Vladimir Ivanov Avatar answered Nov 15 '22 09:11

Vladimir Ivanov