"Error receiving information from the RPC S-7 AEC-0 server" when testing Google billing in the application

I am trying to embed Google in application billing in my application. I created the SKU product identifier and implemented the billing process in code. Although I try to check in-app billind after entering all the data of the test account, location, phone, etc. And pressing the save button, the error message "Error retrieving information from server RPC S-7 AEC-0" appears. I also published an application created by a test account and subscribed to a device with a test account.

Can anyone help me fix this. I am completely spoiled ....

+6
source share
3 answers

I had the same problem when implementing application billing version 3 in my project. It is very uncomfortable. We tried to solve the problem and tried to find a solution, but we did not find a solution to fix it, search on Google or Stack Over Flow and many other sites, but not good luck. Try to delete the account account from the phone and clear the cache of the game store, but not succeed.

I think this is a mistake in the previous code example, and this is solved in the new code example.

What should you do to get a solution?

I believe that you just need to get the updated code in the billing classes in the application, and you should not run the same problem again.

Google has not yet posted the changes to the SDK manager, as far as I know. Just copy / paste the new classes into yours and you no longer have to face the problem.

and also remove your purchase product product code (MainActivity in the sample code).

Get new code changes here:

https://code.google.com/p/marketbilling/source/detail?r=7ec85a9b619fc5f85023bc8125e7e6b1ab4dd69f&path=/v3/src/com/example/android/trivialdrivesample/MainActivity.java

Hope this helps you.

0
source

If other methods did not help, try to make sure that no application has made any changes to your system settings, for example, by disabling google play services permissions, something like this.

0
source

Please note that in the Wallet application you can add only cards with a US billing address.

Select "Settings" and click on "Credit and debit cards." Click the “+” sign in the upper right corner and enter your card information. If you see the camera icon in the "Card Number" field, you can take a picture of your card number, rather than manually entering it. Click Add Credit or Debit Card. Help: https://support.google.com/wallet/troubleshooter/3222463?hl=en&ref_topic=3209985#ts=2896139,2896157

0
source

Source: https://habr.com/ru/post/947842/


All Articles