-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Billing Error #973
Comments
For about 2 weeks I constantly get the penetrant error message "Biling Error #5" "Billing Error #5 Developer Error: Invalid arguments provided to the API. This error can also indicate that the application was not correctly signed or properly set up for In-app Billing in Google Play, or does not have the necessary permissions in its manifest: java.lang.Throwable: Client is already in the process of contacting to billing service." This message disappeared completely after I deinstalled Aedict3 but came back in an instant after installing Aedict3 again. Devices: Readmi Note 7 and GalaxyTab A8 It's probably related to issue #970 |
Thank you for letting me know. The issue was caused by a misconfiguration on Google's side, but now everything should be resolved. I just checked and payments from other users are coming through, so everything seems to be working properly. Let me check where the message could come from. However, it sounds like a communication is being established to Google Play, and the issue could be only temporary. Could you please try to reboot your phone and try again? |
If the issue would persist, I'll need a stacktrace of the exception from your phone. Would you be interested in doing so and posting it here? Please try to follow http://www.aedict.eu/faq.html section "Aedict 3 log" |
Just chiming in to say that I was having the same issue and wasn't near a computer so didn't realize it was Aedict (or related Google Play API) causing the issue. I'm happy to generate a stack trace, but I'm not sure how to forcefully recreate the toast billing error message. It came at seemingly random times. @mvysny any good ideas for recreating the error? Also I noticed the FAQ references the deprecated Android Device Monitor so you may want to update the FAQ to either use systrace, Android Studio's built-in logcat, or the adb logcat. |
@topherbuckley Unfortunately I have no idea how to reproduce this issue. I'm even at loss as to the cause of this ticket. The Aedict purchasing configuration in Google Play however was broken a month ago, that is correct. Could it be that Google Play on your device somehow cached this "broken result"? No idea unfortunately. It works for me and for other users as well. Could you try rebooting your phone, to see whether that would help?
Excellent catch, I'll update the documentation. |
I looks like wiping all Play Store data and rebooting my phone resolved the issue for me. I used Aedict very intensively today but did not get the error message once. |
Excellent fix @flobauke thank you so much for sharing. |
I haven't seen the toast message recently, but if I see it again I will try clearing the play store cache and/or data as mentioned. Will follow up if I see it. Otherwise maybe this can be closed until it reappears? |
Sounds good to me. I'll close the ticket but please feel free to reopen if the issue reappears. Closing as duplicate of #970 |
Hi Martin, I deleted Play Store data and rebooted, but I'm getting these toasts as well. The ones I've seen say:
and:
I captured some logcat that may be of use, which I will email to you. |
@mvysny I'm getting the same errors mentioned here.
It's similar to the previous ticket, but a different error code. This is v3.50.25 of the app. |
I can also confirm that these are still occurring for me. I'll try to grab a logcat if I'm near a PC when they happen next time. |
Thank you. @mikemorr I've received the log from your phone, the relevant part of the log is attached here:
The error is coming straight from Google Play as can be seen in the stack-trace. Unfortunately there's not much I can do about crappy Google code. I've tried to google around and this came up: https://stackoverflow.com/questions/67738549/billingclient-in-app-billing-api-version-3-is-not-supported-on-this-device . It suggests that you need to add an account to Google Play, but that kind of bug refers to situation when the app is run in the Android Emulator. This ticket suggests the same too: RevenueCat/purchases-flutter#92 . This ticket flutter/flutter#64401 suggests that Google Play is having temporary issues. I have just verified that payments from other users are coming through just fine. Have you tried to force-stop the Google Play app and clearing its cache, then rebooting the device please? This https://community.revenuecat.com/third-party-integrations-53/google-play-in-app-billing-api-version-is-less-than-3-1323 suggests that Google Play is too old on your device.... Which sounds ridiculous. All research points to a problem within the Google Play itself. I honestly do not know how to proceed from here. |
@mvysny I have just now force-stopped the Google Play Store app, cleared its cache, and rebooted the phone. If the toasts appear again, I'll let you know. But it does appear that my subscription payment went through correctly on Sunday October 9th, as normally scheduled. |
It occurs to me that the toasts have been appearing on my new phone I just got, but my old phone (sitting in a drawer, but still powered on) still had Aedict installed too. I wonder if the problem was that both phones were trying to bill simultaneously? |
For now, is there a way to block the toast messages? |
@mikemorr unfortunately not at the moment. But I agree that those can be quite annoying. I'll rework it and show those messages in the "About" screen instead. |
I'm not seeing similar API 3 errors in my logcat. Instead I'm seeing what doesn't even appear to be an "error" per se. I copied the logcat to my pc with
There were a few minutes between seeing the toast and hooking up to the PC, but it looks like I have plenty of log messages from well before this, so I guess this includes everything. Is there any way of producing a more verbose log? |
According to https://developer.android.com/studio/command-line/logcat#filteringOutput , adb should print everything including debug messages. Aedict will not log debug messages in production though, so unfortunately that will not work. However, this line is very interesting: That means that Aedict was in fact able to connect to Google Play, obtain the list of subscriptions and verify that the Aedict Ultimate is correctly purchased on your phone. Judging from that, you should not be getting any kind of error toasts.... If you are, then perhaps first couple of attempts to connect to Google Play failed, and finally one attempt went through correctly. If that is true, there should be lots of exceptions from Aedict in the error log as shown in the comment #973 (comment) . @topherbuckley can you please confirm that you're getting the toasts but you can not see any exceptions matching Aedict:InAppPurchases? |
@mvysny what do you recommend for getting the most verbose log using the production version if not the logcat output? It hasn't happened recently so I've increased by log buffer from the default of 256k to 16M. Hopefully I'll catch it with this length of a log. I'm using |
@topherbuckley I wonder whether the search is case-sensitive? Since some log lines have 'Aedict' and some have 'aedict' it might help to look for 'edict'. |
@topherbuckley to get most verbose log you would continue using |
I just experienced the same issue: aedict started to complain about error no.5. Clearing Google Play data helped immediately. This is clearly Google play issue. For further reference, I first killed all apps on my phone. Then I went to phone settings, then "apps", then "app management", searched for the "Google play store" app, then clicked "Force Stop". Then I went to "storage usage" and clicked "clear data" and "clear cache ". Afterwards I launched Google play, then aedict, then verified that the Aedict Ultimate now works properly. |
Clearing the Play data helps for a short while, but the toast messages come back for me within a few days. |
Thank you for letting me know. Unfortunately I suspected as much. Google put the payments on hold without any prior notice until I fill in some EU-related paperwork. I did that yesterday, and it will take a couple of business days to sort this out. Please let's wait until everything is sorted out. |
I have received an e-mail from Google that the payments should hopefully be sorted out again. Let's hope for the best :) Closing as fixed, please reopen if you start experiencing the issue again. |
The messages are appearing again. I'm on Android 12 now. |
I'm sorry to hear that. Let me talk to Google. |
As a bare minimum, I'll convert the error messages from annoying Toasts to something else. Perhaps I'll make Aedict remember a short log and I can show it in the "About" screen, in the bottom-most "Advanced" section. |
@mikemorr toasts should now be gone; the log should be shown in the "About" activity now. Fixed in Aedict 3.50.26. I'll release a new version shortly. |
I am still getting these toasts in Aedict 3.50.26. And I don't even have a subscription to Ultimate.
|
Thank you, should be fixed. Now the toast will only appear when the user is trying to purchase something; and should only appear once. I'll create a new release soon. This bug should be fixed in Aedict 3.50.27 |
For me this issue is fixed since updating to 3.50.27. Thanks! |
Thank you for making the time to report a bug and make Aedict better!
Thank you for your interest in Aedict. Prior submitting bugs, please make sure that you have newest Aedict from Google Play.
A screenshot is often worth a thousand words, so please make sure to include one ;)
Please provide:
The text was updated successfully, but these errors were encountered: