Error testing In-app billing sample - Dungeons

前端 未结 1 1349
盖世英雄少女心
盖世英雄少女心 2021-01-15 11:19

I\'m trying to get the in-app billing sample Dungeons, I have a draft application with my public-id, and I have published unmanaged item potion_001. I use same google-accoun

相关标签:
1条回答
  • 2021-01-15 11:40

    Have you published the potion-001?

    Have you installed the app on your test phone from the same APK as you uploaded to the market? i.e. Put it on your SD cards and manually installed it (Not installed it through eclipse)?

    What is the response you are getting back from the Android Market? DEVELOPER_ERROR?

    You cannot test real payments from the SAME GMAIL as the google merchant account is registered to. The same way you can't purchase your own apps. You can't purchase your own inapp items.

    You will need to add a test account to your developer page. Then have a phone sign into the android app market with this account and then test on that phone. n.b. to sign into a new gmail account from your market you have to factory reset the phone :-(

    Google Backup:

    http://developer.android.com/guide/market/billing/billing_testing.html

    To test your in-app billing implementation with actual in-app purchases, you will need to register at least one test account on the Android Market publisher site. You cannot use your developer account to test the complete in-app purchase process because Google Checkout does not let you buy items from yourself. If you have not set up test accounts before, see Setting up test accounts.

    0 讨论(0)
提交回复
热议问题