Page 1 of 1

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

Posted: Wed May 02, 2018 7:36 am
by Peter@multidesk.se
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

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

Posted: Wed May 02, 2018 10:18 am
by LiveCode_Panos
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
--

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

Posted: Wed May 02, 2018 11:08 am
by Peter@multidesk.se
Outstanding, Thank you Panos!

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

///Peter

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

Posted: Wed May 02, 2018 11:55 am
by LiveCode_Panos
Great, I am glad this helped :)

Panos
--