IAP in App Store
J. Landman Gay
jacque at hyperactivesw.com
Fri Sep 17 12:37:58 EDT 2021
After initiating a purchase I get nothing. No dialog, no errors. It acts
like I never pushed the button, the app just sits there. I'm logging
everything. The log shows my comment that I'm initiating a purchase. There
are no other log entries until the timeout message.
The product ID matches the one in iTunes Connect exactly, because I copied
it from there and pasted it into my script. (I've hard-coded a single
product just for testing because I needed one that was a non-renewable
subscription so that I could repurchase several times.)
There's one thing I didn't mention. Our Ruby programmer set up a server API
in Connect so she could get notice of any refunds. Does that mean that all
responses would be going to the server? Even so, you'd think I'd get a
dialog about my Apple ID. She's turned it off for now and I'll try again
shortly, but she doesn't think that would be an issue. Do you know?
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 17, 2021 2:48:49 AM panagiotis m via use-livecode
<use-livecode at lists.runrev.com> wrote:
> Hello Jacque,
>>>>>> instead the next call to make a purchase should pop up a dialog asking
> for an Apple ID
> Yes, this is what should happen. What do you get when trying to make a
> I take it that the in-app purchase product IDs in your script do match the
> ones you set up in iTunes Connect, is that correct?
>>>>>> Is the lesson accurate? I get no response at all from
> Yes, the lesson is still accurate, I did test it 2 weeks ago. The response
> from purchaseStateUpdate will arrive *after* you get the purchase dialog
> and click Buy or Cancel.
> Kind regards,
> On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>> I'm trying to test IAP in the App Store. I have a tester account and I'm a
>> verified test user
>> with a new Apple ID that is not used anywhere else.
>> Following the LC lesson, it says to sign out of the app store in Settings.
>> I had to look up how
>> to do that in iOS 14, and did so. It also said not to sign in again while
>> in Settings, instead
>> the next call to make a purchase should pop up a dialog asking for an
>> Apple ID. It does not.
>> Is the lesson accurate? I get no response at all from purchaseStateUpdate.
>> There's a handler in
>> the script that triggers a timeout after 2 minutes, and that's all I get.
>> How do I trigger the sign-in dialog so I can log in as my test account?
>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode