HI there! I’m hoping you will able to help. Here is the error Item Unavailable, id the correct, in the google account all is also ok. It’s closed testing, and also testers, devices and so on is ok. The app got prices from the cat, but still it doesn’t work. We also can’t make a test purchase via cat and didn’t seen any tries in the sandbox dashboard.
Maybe someone know what to do next
Thanks in advance
Best answer by jazmineView original
Could you send debug logs that reproduce this? You can enable debug logs by following this guide. After they're enabled you'll see logs like this in the console:
Please ensure the debug logs include the entire app life-cycle, including the messages printed during initialization of the SDK. The more information you include here, the better we'll be able to help.
Let me know if you have any questions!
Hi! Thanks for your reply.
D/[Purchases] - DEBUG: ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A67fa906ab1fc4b0b98d1ab1c7356c7aa/offerings
D/[Purchases] - DEBUG: ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A67fa906ab1fc4b0b98d1ab1c7356c7aa/offerings 304
D/[Purchases] - DEBUG: ℹ️ Requesting products from the store with identifiers: marga_monthly, marga_weekly
D/[Purchases] - DEBUG: ℹ️ Products request finished for marga_monthly, marga_weekly
Do you have any debugs logs showing the error of Item Unavailable?
The "ITEM_UNAVAILABLE" error is thrown by Google when the user isn't eligible to purchase the item. It could be from not testing with a registered test user? Found a few answers on StackOverflow that may help: https://stackoverflow.com/questions/47307461/responsecode-4-of-google-in-app-billing-library-1-0