Page 1 of 1

iOS In-App Purchasing problem

Posted: Mon Oct 05, 2015 9:43 pm
by willcate
Greetings,

I'm trying to test in-App purchasing of a non-consumable product (a subscription to content which is stored on our own server).

I have Sandbox testers set up in iTunes Connect.

The purchase routine is as follows:

Code: Select all

on purchaseMonthlySub
     mobileStoreEnablePurchaseUpdates
     mobileStoreSetProductType "com.softcast.flschoollaw.SCHOOLAWMONTHLY", "inapp"
     mobileStoreMakePurchase "com.softcast.flschoollaw.SCHOOLAWMONTHLY", "1", "This is a monthly subscription to FLSLG"
end purchaseMonthlySub
...and I have the standard handler for purchaseStateUpdate.

I have side-loaded the built app onto my iPhone via xCode for testing, since In-App Purchasing doesn't work in simulation. The product is listed as "Ready To Submit" in iTunes Connect.

When the routine executes, I get prompted twice for the Apple ID and password, and then I get the dreaded "Cannot connect to iTunes Store" message. This happens with a brand-new, never-before-used Sandbox test account.

I've checked the Apple FAQ tech note regarding in-app purchases, but to no avail. Would appreciate any and all help with whatever I might be missing here... this is for a client, and I'm already late delivering them something that works -- much thanks.

Re: iOS In-App Purchasing problem

Posted: Tue Oct 06, 2015 4:53 am
by willcate
BTW, forgot to mention... LiveCode v. 7.0.5, iOS 8.4

Re: iOS In-App Purchasing problem

Posted: Tue Oct 06, 2015 10:38 pm
by willcate
Could it possibly be related to the fact that we have a tax agreement pending (i.e not yet completed) in iTunesConnect?