in-app purchase doesn't work

Hi,


I'm trying to make in-app purchase work in my app. This is first app I developed and published for iOS, and I struggle to make in-app puchasing work. Here is timeline.


January 21 - I successfully published app to App Store on Sunday, January 21. The app is "Tennis Umpire App", written in Xamarin. I used component https://github.com/jamesmontemagno/InAppBillingPlugin so support purchasing. There is Android version with the same code where in-app purchasing works. This is just port to iOS.


January 22 - Discovered that In-App purchase doesn't work. No popup for the user, in the logs I see just "General Error". Tried on different devices, different accounts (on my friends phones). Then I realized that my contract for payed apps wasn't finished in iTunes connect, so I finished the contract. Tried again and it didn't help.


Created new sandbox user to try in development version of the app, and it worked!


January 23 - I found another post that it may take 24-48 hours to get things through, so I waited. Checked it from time to time - didn't work. In monitoring tools I can see that other people tried with same error.


January 25 - at this point 48 hours passed since I completed the contract. But it still doesn't work.


Any ideas in how to troubleshoot it further are appreciated.

Answered by maxal1917 in 291689022

I was able to fix it. I removed "Clear for Sale" flag from In-App purchase. Saved it, and then turned it on again. Looks like this reset triggered something on their side and it started to work. No new version was published, so it was on App Store side.

Accepted Answer

I was able to fix it. I removed "Clear for Sale" flag from In-App purchase. Saved it, and then turned it on again. Looks like this reset triggered something on their side and it started to work. No new version was published, so it was on App Store side.

You actually did two things, didn’t you. You signed the agreement and then, perhaps, to push that signature into your IAP data you turned Cleared For Sale off and on. Good info. Thanks.

How long did you keep the IAP removed from sale? We have a similar problem in our game all of the sudden, especially on one particular IAP. I tried removing it from sale, saving, waiting for few minutes and then putting it back sale again but it didn't help. Check the post by me, Umbasa, sounds similar right?

in-app purchase doesn't work
 
 
Q