Question

Purchases.getOfferings() returns [Error: There is an issue with your configuration. Check the underlying error for more details.]

  • 4 January 2024
  • 9 replies
  • 551 views

Badge +1

Hi, 

I am using RevenueCat for using subscriptions in my app. I have configured everything according to the docs. On Apple everything is working fine but on Android, I am facing this issue when I try to get offerings, I get this error There is an issue with your configuration. Check the underlying error for more details.

I know there could be some config issue but I have taken the following steps twice:

 

I do not know how to see debug logs using expo managed project as there is no in-detail guide for it anywhere. 

 

If anyone know how I can see the debug logs using expo managed project, kindly help me.


9 replies

Badge +1

I was able to see logcat for the logs and this is what i am getting.
 

2024-01-04 17:01:52.353  9066-9318  [Purchases] - DEBUG     com.aka.Yael                         D  ℹ️ Tokens already posted: []
2024-01-04 17:01:52.353 9066-9318 [Purchases] - DEBUG com.aka.Yael D ℹ️ Saving tokens []
2024-01-04 17:01:52.354 9066-9318 [Purchases] - DEBUG com.aka.Yael D ℹ️ Tokens already posted: []
2024-01-04 17:01:52.354 9066-9318 [Purchases] - DEBUG com.aka.Yael D ℹ️ No pending purchases to sync
2024-01-04 17:01:52.355 9066-9317 [Purchases] - DEBUG com.aka.Yael D ℹ️ No pending purchases to sync
2024-01-04 17:01:52.355 9066-9314 [Purchases] - DEBUG com.aka.Yael D ℹ️ Products request finished for yael
2024-01-04 17:01:52.356 9066-9314 [Purchases] - DEBUG com.aka.Yael D 💰 Retrieved productDetailsList:
2024-01-04 17:01:52.358 9066-9320 [Purchases] - DEBUG com.aka.Yael D ℹ️ Requesting products from the store with identifiers: yael
2024-01-04 17:01:52.359 9066-9320 [Purchases] - DEBUG com.aka.Yael D ℹ️ Requesting products from the store with identifiers: yael
2024-01-04 17:01:52.417 9066-9318 [Purchases] - DEBUG com.aka.Yael D ℹ️ Products request finished for yael
2024-01-04 17:01:52.417 9066-9318 [Purchases] - DEBUG com.aka.Yael D 💰 Retrieved productDetailsList:
2024-01-04 17:01:52.419 9066-9320 [Purchases] - WARN com.aka.Yael W 🤖‼️ Could not find ProductDetails for yael
There is a problem with your configuration in Play Store Developer Console. More info here: https://errors.rev.cat/configuring-products
2024-01-04 17:01:52.424 9066-9320 [Purchases] - ERROR com.aka.Yael E 😿‼️ Error fetching offerings - PurchasesError(code=ConfigurationError, underlyingErrorMessage=There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store.
More information: https://rev.cat/why-are-offerings-empty, message='There is an issue with your configuration. Check the underlying error for more details.')
2024-01-04 17:01:52.441 9066-9316 [Purchases] - DEBUG com.aka.Yael D ℹ️ Products request finished for yael
2024-01-04 17:01:52.441 9066-9316 [Purchases] - DEBUG com.aka.Yael D 💰 Retrieved productDetailsList:
2024-01-04 17:01:52.443 9066-9320 [Purchases] - WARN com.aka.Yael W 🤖‼️ Could not find ProductDetails for yael
There is a problem with your configuration in Play Store Developer Console. More info here: https://errors.rev.cat/configuring-products
2024-01-04 17:01:52.443 9066-9320 [Purchases] - ERROR com.aka.Yael E 😿‼️ Error fetching offerings - PurchasesError(code=ConfigurationError, underlyingErrorMessage=There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store.
More information: https://rev.cat/why-are-offerings-empty, message='There is an issue with your configuration. Check the underlying error for more details.')
2024-01-04 17:01:52.559 9066-9309 [Purchases] - DEBUG com.aka.Yael D API request started: GET /subscribers/Li0maW2zlugKYcOtedMmvRKR4ED3
2024-01-04 17:01:52.561 9066-9309 [Purchases] - DEBUG com.aka.Yael D API request completed with status: GET /subscribers/Li0maW2zlugKYcOtedMmvRKR4ED3 200

Any Idea what could be the issue?
 

I only have one subscription with 2 base plans

Userlevel 3
Badge +5

Hi! I am sorry that we weren’t able to assist you sooner. Can you share the App User ID of the tester account that you are using?

Badge +1

No worries @wes_clark. I was able to resolve it. It was an issue related to country, In closed testing there was only one country selected for distribnution and me working from another country was the issue, I add mine in the closed testing and everything started working.

Badge +1

It would be great if this point is also added in this post, as this was something that can be overlooked by developers and it would save them time if this point is seen by them in this post.
 

 

Badge

I want to ask you, I have the the same problem as you but My error log is quiet different.
what I want to know is : 

Did you submit you app to be reviewed in the closed Track (meaning that It got published in the closed Track) ? or do you only need to set it up without getting it Reviewed ?
Are you using a Developement Build ?

Badge +1

I was using development build for testing in expo and I submitted it on Internal Testing. Doing this resolved the issue for me. More-over do check that all countries are enabled during the testing. And try to re-follow the steps provided by the docs. 

Badge

What I need to know is if you have gone to the Overview Tab : 
 


Then you clicked on the Submit changes Button :
 


Becaus reading from the docs I saw that You only need to Publish the Closed Track when testing Purchases (sandBox) but I should Still be able to use “getOfferings” even without Publishing it (or maybe I didn’t understand well) ?.

So in the end Have YOU published your closed Track or not ?

Thanks in advance !

Badge +4

I was using development build for testing in expo and I submitted it on Internal Testing. Doing this resolved the issue for me. More-over do check that all countries are enabled during the testing. And try to re-follow the steps provided by the docs. 

I also use expo and I am facing this problem. Uploading to internal testing, what difference does that make? don’t you still need to test the app with a development build? or how can you test with internal testing

Badge

We faced the same issue:
There is an issue with your configuration. Check the underlying error for more details.

The error message could be more helpful in explaining what exactly to look for in the underlying error. It took me some time to realise that the error object includes a userInfo object which explains the issue in more detail.

The details lead me to understand we were missing the Google Play Store product in RevenueCat products, we only had the App Store product defined.

Reply