Home > Back-end >  Plugin.InAppBilling always returns "Invalid Product" on Xamarin.iOS
Plugin.InAppBilling always returns "Invalid Product" on Xamarin.iOS

Time:05-16

I have been trying to implement the Plugin.InAppBilling NuGet package for the last weeks and trying to run the "Get Product Details" example from the documentation page.
However, the line

var items = await billing.GetProductInfoAsync(ItemType.InAppPurchase, productIds);

always throws the "PurchaseError.InvalidProduct" Exception.

I am quite sure that everything is set up correctly within AppStoreConnect and that I have followed the documentation exactly.
I am trying to implement this for a MonoGame application, which uses Xamarin to host the app, which is why I am using the recommended Version "5.3.2-beta" of the InAppBilling-Plugin.

Is this a common error or are there any known workarounds?

Best Regards,
Dokug

CodePudding user response:

Plugin.InAppBilling Version 5.3.3-beta resolved this problem.

  • Related