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
The sku was not found. Please fetch products first by calling getItems #1051
Comments
Have you called |
@Ilario17 Having the same issue on android only, did you find a solution? |
Yes, having same issue. Please post solution. |
It take long to approve product from Google Play store. Don't know why. And not update any kind of status on product. But after two days wait. Products are automatic fetching with same source code. So wait for approve products. |
I have approved my in app purchase products from play store even getting the response but sometime it returns sku not found for some users , don't know why me too faced this issues sometimes while testing and thought it was the issue because play store takes time to approve products but it is still occurring sometimes |
Please check if you have properly configured your products/subscriptions skus in the play store (you need to add them there). You can check if you have them by using: |
This error is still present in version 6.0.6 I still couldn't figure out why it only happens with some (and fortunately few) users |
@SebastianMieszczanczyk this error happens randomly in production, many people buy without problems but some instead encounter this error. |
@hyochan I updated the post with new info |
#1388 Fixes the race condition by ensuring billing client is not null while calling internal methods |
I still have this issue on v12.4.14 |
@MariusCatanoiu if this still happens, please create a ticket with the details and I'll take a look |
I experience this issue when getSubscriptions first throws E_SERVICE_ERROR Billing is unavailable. So the users have no Play Market or no user logged in there -> |
@pandya293 @andresesfm @EndLess728 @MariusCatanoiu @hyochan
|
Version of react-native-iap
6.0.6
Version of react-native
0.64.1
Platforms you faced the error
Android
Actual behavior
Some users cannot make in-app purchases, the error they encountered is "the sku was not found. Please fetch products first by calling getItems"
The first thing i do in the app after
initConnection()
is to take the list of in-app purchases.I don't know how to reproduce the error, it does not seem related to a particular version of android or to a particular device
The error that some users receive:
I know that getProducts definitely returns the products, because users can see the price of the purchase and I don't save it in the app but I get it from getProducts
The text was updated successfully, but these errors were encountered: