In-app purchase "can not connect to iTunes Store"

Getting into LiveCode for iOS? Ask your questions here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Peter@multidesk.se
Posts: 107
Joined: Fri Oct 14, 2011 6:53 am

In-app purchase "can not connect to iTunes Store"

Post by Peter@multidesk.se » Wed May 02, 2018 7:36 am

I have tried everything but something is obviously wrong!

When I try the following, I get:
can not connect to iTunes Store

I've followed all the tips and read previous posts here on the forum but I've got stuck.

What am I doing wrong?


///Peter
Skärmavbild 2018-05-02 kl. 08.08.08.png
Skärmavbild 2018-05-02 kl. 08.25.53.png

Code: Select all

on mouseUp
   set the blendlevel of me to 0
   mobileStoreEnablePurchaseUpdates
   mobileStoreSetProductType "nya.krediter.5", "inapp"
   mobileStoreMakePurchase "nya.krediter.5", "1", "This belongs to me"
end mouseUp
/*Whats all the fuss with c# ?*/

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 497
Joined: Fri Feb 06, 2015 4:03 pm

Re: In-app purchase "can not connect to iTunes Store"

Post by LiveCode_Panos » Wed May 02, 2018 10:18 am

Hi Peter,

Have you tried to create a new test account? Note that first you have to clear any account information stored on your test device. (Settings -> Store -> Sign Out).

Moreover, do not sign in using your test account information in the Store settings panel. Doing so may invalidate your test account.

Kind regards,
Panos
--

Peter@multidesk.se
Posts: 107
Joined: Fri Oct 14, 2011 6:53 am

Re: In-app purchase "can not connect to iTunes Store"

Post by Peter@multidesk.se » Wed May 02, 2018 11:08 am

Outstanding, Thank you Panos!

It was just the small part of logging out that was missing. :wink:
It works perfectly now!

///Peter
/*Whats all the fuss with c# ?*/

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 497
Joined: Fri Feb 06, 2015 4:03 pm

Re: In-app purchase "can not connect to iTunes Store"

Post by LiveCode_Panos » Wed May 02, 2018 11:55 am

Great, I am glad this helped :)

Panos
--

Post Reply

Return to “iOS Deployment”