Skip to content
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 item that you were attempting to purchase could not be found. #574

Open
sachinkanadia opened this issue Nov 20, 2023 · 3 comments
Open

Comments

@sachinkanadia
Copy link

I have setup in app purchasing on Android and the Google Play Store. When I try to purchase the product from the Android app it returns this error: The item that you were attempting to purchase could not be found.

I have made sure of the following:

  • You MUST use a physical device. Emulators do not work.
  • Ensure you have app in Alpha/Beta with the NuGet installed.
  • Create an IAB product, make sure it is published and active.
  • Add a test account to the app, ensure it is the main account on device, and that account is opted-in as tester.
  • Validated your version code and number in your development environment match what is in the Play store.
  • You MUST sign the APK even in debug mode.

Please could I receive some support. Many Thanks!

Bug Information

Version Number of Plugin: 7.1.0
Device Tested On: Physical Samsung A40
Simulator Tested On: N/A
Version of VS: 17.6.7
Version of Xamarin: .NET Maui 7.0.100

Steps to reproduce the Behavior

Setup in app billing on Android and Google Play.

Expected Behavior

Should be able to purchase the product.

Actual Behavior

Error: The item that you were attempting to purchase could not be found.

Code snippet

var purchase = await billing.PurchaseAsync(productId, ItemType.InAppPurchase);

Screenshot

Screenshot_20231120-181253_Google Play Store 20  copy

@Sohel3798
Copy link

I'm facing same issue for android have you found something @sachinkanadia

@sachinkanadia-se
Copy link

In my case my Android package names were out of sync between my code and the Google Play Store. When I realised this it didn't work until I started releasing in the Open track in Google Play Store.

@Sohel3798
Copy link

Sohel3798 commented Dec 24, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants