Closed cklenk closed 7 years ago
I have also noticed the sign into the iTunes store pop-up appears twice. I try to sign in with my sandbox account and right after I hit buy the same dialog opens again asking me to sign in. After I sign in the second time is when I get the cannot connect to iTunes store. And according to https://www.apple.com/support/systemstatus/ it all seems to be working.
Please see: https://jamesmontemagno.github.io/InAppBillingPlugin/TestingAndTroubleshooting.html
Works fine for me
I keep getting the login pop-up. When I hit cancel it will throw the exception Cannot connect to the iTunes store. This was working fine in the sandbox and then I updated to iOS 11. Seems to not be working anymore and the only change I made was the updated OS(11). so I might be missing something new?
Do you need to be using the AppStore build configuration when testing sandbox IAP?
Are the version numbers the same as what has been published up?
Most likely has nothing to do with plugin, just setup. Google around for testing in sand box it is trouble for everyone ever.
Hi,
Thanks for the reply. After going through the check lists on how to resolve this, I found the issue this morning. Somehow after the 11 update, iTunes Connect was showing that there was a bank field missing called Account Type. This must have been recently added, since I have had the sandbox working for over two months! When I fixed the error by logging into iTunes Connect, select the account type and waiting for about 5 hours, the sandbox user started working again. Ugh! note to self: Check itunes connect FIRST, before debugging the tech!!
Thanks for the replies. Problem resolved.
Steve
On Oct 2, 2017, at 7:47 AM, James Montemagno notifications@github.com wrote:
Are the version numbers the same as what has been published up?
Most likely has nothing to do with plugin, just setup. Google around for testing in sand box it is trouble for everyone ever.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jamesmontemagno/InAppBillingPlugin/issues/79#issuecomment-333523788, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPzdPCQ_atbaUAdN7SFcU5cV4GNZXlIks5soNtOgaJpZM4PeU2d.
@sinclas where was Account Type missing?
Thanks
## Throws InAppBillingPurchaseException - cannot connect to iTunes store I tried for long time by updating packages changing code, but could not solved. Can you help me in this...
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.0.0.0/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.0.0.0/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
Bug Information
Version Number of Plugin: 1.2.2 Device Tested On: iPhone 5s iOS 11 Simulator Tested On: N/A Version of VS: 2017 Pro Version of Xamarin: 4.6.3.4 Versions of other things you are using: Xamarin.Forms: 2.3.4.270
Steps to reproduce the Behavior
Just updated the phone to iOS 11. I then tried to make a call to PurchaseAsync with item Type of Subscription.
Actual Behavior
Throws InAppBillingPurchaseException - cannot connect to iTunes store
Code snippet