iOS In-App Purchasing problem

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
willcate
Posts: 7
Joined: Sun Jul 06, 2014 8:44 pm

iOS In-App Purchasing problem

Post by willcate » Mon Oct 05, 2015 9:43 pm

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.

willcate
Posts: 7
Joined: Sun Jul 06, 2014 8:44 pm

Re: iOS In-App Purchasing problem

Post by willcate » Tue Oct 06, 2015 4:53 am

BTW, forgot to mention... LiveCode v. 7.0.5, iOS 8.4

willcate
Posts: 7
Joined: Sun Jul 06, 2014 8:44 pm

Re: iOS In-App Purchasing problem

Post by willcate » Tue Oct 06, 2015 10:38 pm

Could it possibly be related to the fact that we have a tax agreement pending (i.e not yet completed) in iTunesConnect?

Post Reply