Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

In-App-Purchases? Is there any up2date guide?

SebastianKruseSebastianKruse USMember ✭✭✭

This is the tutorial I work with so far:

But I'm not able to get it to work. I want to implement the Payment Part as a DependencyService and started with iOS - because it is my main platform for mobile development. This right here is my DependencyService-Class for iOS: and this is how I use it:

But anytime I try to execute the PurchaseProductCommand or RestorePurchaseCommand I get this error: (sometimes it works until the login window appears but in another try it crashes instantly).

What is wrong? I can't understand it... In my opinion everything is exactly like in the "NonConsumables"-Project code from the documentation... The InApp Product is not published yet and stands on state "Waiting for transmission" but in my opinion this should not result in such a problem.

Best Answer


Sign In or Register to comment.