In-App billing not working (Your request could not be processed)

左心房为你撑大大i 提交于 2019-12-04 02:53:15

问题


Today I published my app, and when my friend tried to buy the in-app content the market says: "Your request could not be processed. please try again".

A few clarifications:

  1. The app was published more than 10 hours ago, and is visible in the google play store.
  2. The testing with google static codes DID work all the time
  3. The buying account is NOT the publisher account
  4. Most of the code is copied as is from google's in-app billing example
  5. The in-app product IS shown correctly when trying to buy.
  6. The buyer has a valid credit card

Thanks!


回答1:


Couple of things you have to consider.

  1. Check the public key [Must be your account public key.]
  2. Check if your friend is in the test account list for that product.(Remove it)
  3. In your code use logcat to find the status code. (Use billing receiver for any purchase request code). or Error : Developer Error.

  4. Be sure you are signing with correct keystore.

FYI onRequestPurchaseResponse() inside Dungeon.java get the Response.

Hope will help you.




回答2:


Are you from one of the accepted countries for In App Purchases by Google Play? https://support.google.com/googleplay/android-developer/answer/150324



来源:https://stackoverflow.com/questions/11477005/in-app-billing-not-working-your-request-could-not-be-processed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!