Reputation: 4069
I have an app in the market without in-app billing. Now the new version should have in-app billing. Of course I am not ready yet and cannot upload the new version to the market, but how can I test and debug my unfinished code?
Upvotes: 4
Views: 2216
Reputation: 1
Firstly,You can use four reserved product IDs to test static in-app billing responses Secondly,Using a test account and upload you app as a draft,then you can test it using your own product IDs
Upvotes: 0
Reputation: 4436
as a first step you need to test it using test requests. This testing is limited but will give you idea if the flow works correct or not.
Second step - real testing. You have to upload your app to Play (NOT publish, just upload), create another account (you can't buy things from yourself) and enable this account in your dev. console. Then you can purchase (for real money) the app and test how well it goes. Of course you can cancel/refund this anytime using your main account.
As a person implementing this in a couple of my apps I can tell you it's a pain.
Refer here for more info:
Upvotes: 3
Reputation: 11923
You can use the test product id's set up by Google to test your app. Check out this link
Upvotes: 0