I am fetching products from revenuecat there is no problem with that I can see product details from console and they are correct from Google Play Console but the problem is that (in only Android) when I try to purchase something I am getting following error:
E/[Purchases] - ERROR( 8481): 🤖‼️ Failed to launch billing intent. DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.
E/[Purchases] - ERROR( 8481): 🤖‼️ BillingWrapper purchases failed to update: DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.null
E/[Purchases] - ERROR( 8481): 🤖‼️ There was a problem with the Play Store.
Steps I produce:
- I configured products on google play console
- I connected revenuecat to google play account (it is connected)
- enabled pub/sub api
- created service accounts and connected them to google play and give permissions for the current app
- entered products to revenuecat
As I said there is no problem with IOS only in Android (I can make purchase in IOS). But I can fetch them without problem I can see details. But I cannot purchase.
Best answer by jazmineView original
The SERVICE_DISCONNECTED error is a message from Google that the "Play Store service is not connected now - potentially transient state". Errors like this are often related to some configuration issue in Apple/Google which may be missing from our docs.
Do you see any other errors occurring in the debug logs before the one you mentioned?
Here are something to try out to see if they solve the problem:
Are you logged in to the correct Google Account on the device/emulator? Try logging out and logging back in.
If you're testing on an emulator, can you confirm that it has Google Play installed?
Try restarting the device/emulator. Sometimes the emulator will lose its network connection permanently until you restart it.
Sometimes even wiping the device/emulator will fix the issue, but try the other tips first.
Additionally have your products have been approved for 24hrs+ ? Due to store propagation time, it can take 24hrs+ for new products to become available after being approved - this is the same for new apps and adding new products to existing apps.
Let us know if any of these steps solve your issue!
Hi, thanks for answer.
I checked account and yes it was correct.
I am using physical device
I am waiting for even days but still the same.
thing that confuses me is, it fetches product without problem, I can see product details. Isn’t this mean that google play connection is successful?
Here is the full debug log after I touch purhcase button.
Still same. Any help?
I tried reinstalling whole google play configuration and I got same error
We have sent this post into our ticketing system, where our Support team will handle your request.
any update ?