Solved

🤖‼️ There was a problem with the Play Store after subscription

  • 18 December 2021
  • 5 replies
  • 217 views

Badge

We are testing the android side subscription and it is not working. 
We have managed to complete the iOS side configuration successfully, Subscribed from iOS and fetched from android as well. But,
But, when we try to subscribe from android, subscription get's completed as well in the plays tore account. But It's going to the on error method of the revenuecat SDKs. And the error message prints below error

2021-12-18 12:40:50.694 29887-30921/com.goviral.app D/[Purchases] - DEBUG: ℹ️ API request completed with status: POST /receipts 503
2021-12-18 12:40:50.698 29887-30921/com.goviral.app E/[Purchases] - ERROR: 🤖‼️ There was a problem with the Play Store.

 

Please guide us on why this is happening, Since playstore account is showing the subscription successfully. But revenue cat is not getting it and showing the above error and not reflecting in the users account. 

icon

Best answer by tina 20 December 2021, 20:20

View original

5 replies

Userlevel 4
Badge +10

Hey @Ankur Kalkani 

Are you noticing any other error, such as Invalid Play Store Credentials, in your debug logs? Is your test email receiving any emails from Google saying the purchase was cancelled due to the purchase not being acknowledged?

 

As for the STORE_PROBLEM error, we actually have that documented here: https://docs.revenuecat.com/docs/errors#--store_problem Have you confirmed that the Android package name is correct entered in the RevenueCat dashboard? Is this error still populating for you? 

Badge +1

The same problem. I’m using test email to make purchase. I’ve got email that my purchase was successful but revenue return me There was a problem with the Play Store.

Badge +1

@tina 
D/[Purchases] - DEBUG: ℹ️ API request started: POST /receipts
D/[Purchases] - DEBUG: ℹ️ API request completed with status: POST /receipts 503
E/[Purchases] - ERROR: 🤖‼️ There was a problem with the Play Store.

Userlevel 4
Badge +10

Hey @Kateryna Maslyak 

I’m taking a look at our internal logs and it looks like Android purchases are coming in now. I did notice some 503 calls earlier today, which is from not enabling the API. For reference: 

Google Play Error: Google Play Android Developer API has not been used  in project X before or it is disabled. Enable it by visiting  https://console.developers.google.com/apis/api/androidpublisher.googleapis.com/overview?project=X  then retry. If you enabled this API recently, wait a few minutes for  the action to propagate to our systems and retry.

(redacted sensitive information) 

For help debugging in the future, I would recommend taking a look at the underlyingErrorMessage and message. Docs for reference: https://docs.revenuecat.com/docs/errors#android-errors 

In my case i had to change Purchases.setup(observerMode?: boolean) from true to false.

Reply