RE: IAP in App Store
"complete" status only means that the process is complete. A purchase is only complete if "complete" is preceded by a "paymentReceived" or in the case of a user with a new device "restored". At least that's the way I understand it. This logic has worked for me. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, October 06, 2021 4:33 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: IAP in App Store I'm confused about how the purchase flow works so my question is probably incorrect. There is no error when I see the "complete" status, it only shows up in my logging file. After adding additional logging, it looks like "complete" is sent after every transaction. But if something goes wrong, like asking for a product that isn't in the Play Store yet, there are no status reports except "complete." The app doesn't receive any other info and Android doesn't display any dialog. Seems like I should get an "invalid sku" status error. Here's part of the log where I made a successful test purchase (product ID obscured): *** Wed, 6 Oct 2021 14:12:55 -0500 BEGIN IAP PURCHASE: -- purchaseStateUpdate logs this: Wed, 6 Oct 2021 14:13:15 -0500 Purchase state: paymentReceived | PurchaseID: 3 -- fullfillment handler logs this and sends info to back end server: Wed, 6 Oct 2021 14:13:15 -0500 Purchase complete: true | | paymentReceived Wed, 6 Oct 2021 14:13:15 -0500 queryServer about to query for newPurchase Wed, 6 Oct 2021 14:13:15 -0500 newPurchase params: {"packageid": "","transaction_id": "3","source": "android"} -- and finally purchaseStateUpdate returns "complete": Wed, 6 Oct 2021 14:13:15 -0500 Purchase state: complete | PurchaseID: 3 *** I'm working in the internal test track and the choices in the test purchase dialog do not include a Cancel button. To cancel, I tap outside the dialog and it goes away. Sometimes I get an email about my "purchase" (which is normal) and usually it verifies a cancellation. But one email had some additional test info: "This test purchase was cancelled because it was not acknowledged. You should ensure all purchases are acknowledged so they are not subject to refunds. For more information see https://developer.android.com/google/play/billing/integrate#process."; I just repeated the same cancellation method just now and did not get that warning in email. I didn't actually get an email at all. One faintly amusing thing is that Google is counting my unpaid test purchases as real ones in their Play Points history, and yesterday I acquired enough points to rent a free movie and advance to level Silver for additional benefits. :) Given how complex their IAP store setup is, I think that's only fair. On 10/6/21 11:40 AM, panagiotis m via use-livecode wrote: > Hello Jacque, > > What is the exact error that causes purchaseStateUpdate to be sent > with a "complete" status? > Google is supposed to show its own notification in most cases, so > that's fine, but then the purchaseStateUpdate should be sent with an > appropriate status anyway. > > Kind regards, > Panos > -- > > > > On Tue, 5 Oct 2021 at 20:54, J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I guess this is for @Panos. >> >> Now that I have IAP working I noticed another thing. I'm building for >> Android with LC 9.6.5 >> RC-1 which includes the new billing library. My script has a >> purchaseStateUpdate handler that logs every response and sends the >> info to a IAPPurchaseComplete handler that manages the purchase or >> the error. If there is an error this handler puts up a dialog >> informing the user. >> >> I notice any error is not received by the handler, instead Google >> puts up its own notification and the status returns as "complete". My >> notification never runs. That's fine and it looks better than my own >> but I'm curious whether something has changed in the new billing >> library, and if so, what. >> >> -- >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-
Re: IAP in App Store
I'm confused about how the purchase flow works so my question is probably incorrect. There is no error when I see the "complete" status, it only shows up in my logging file. After adding additional logging, it looks like "complete" is sent after every transaction. But if something goes wrong, like asking for a product that isn't in the Play Store yet, there are no status reports except "complete." The app doesn't receive any other info and Android doesn't display any dialog. Seems like I should get an "invalid sku" status error. Here's part of the log where I made a successful test purchase (product ID obscured): *** Wed, 6 Oct 2021 14:12:55 -0500 BEGIN IAP PURCHASE: -- purchaseStateUpdate logs this: Wed, 6 Oct 2021 14:13:15 -0500 Purchase state: paymentReceived | PurchaseID: 3 -- fullfillment handler logs this and sends info to back end server: Wed, 6 Oct 2021 14:13:15 -0500 Purchase complete: true | | paymentReceived Wed, 6 Oct 2021 14:13:15 -0500 queryServer about to query for newPurchase Wed, 6 Oct 2021 14:13:15 -0500 newPurchase params: {"packageid": "ID>","transaction_id": "3","source": "android"} -- and finally purchaseStateUpdate returns "complete": Wed, 6 Oct 2021 14:13:15 -0500 Purchase state: complete | PurchaseID: 3 *** I'm working in the internal test track and the choices in the test purchase dialog do not include a Cancel button. To cancel, I tap outside the dialog and it goes away. Sometimes I get an email about my "purchase" (which is normal) and usually it verifies a cancellation. But one email had some additional test info: "This test purchase was cancelled because it was not acknowledged. You should ensure all purchases are acknowledged so they are not subject to refunds. For more information see https://developer.android.com/google/play/billing/integrate#process."; I just repeated the same cancellation method just now and did not get that warning in email. I didn't actually get an email at all. One faintly amusing thing is that Google is counting my unpaid test purchases as real ones in their Play Points history, and yesterday I acquired enough points to rent a free movie and advance to level Silver for additional benefits. :) Given how complex their IAP store setup is, I think that's only fair. On 10/6/21 11:40 AM, panagiotis m via use-livecode wrote: Hello Jacque, What is the exact error that causes purchaseStateUpdate to be sent with a "complete" status? Google is supposed to show its own notification in most cases, so that's fine, but then the purchaseStateUpdate should be sent with an appropriate status anyway. Kind regards, Panos -- On Tue, 5 Oct 2021 at 20:54, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: I guess this is for @Panos. Now that I have IAP working I noticed another thing. I'm building for Android with LC 9.6.5 RC-1 which includes the new billing library. My script has a purchaseStateUpdate handler that logs every response and sends the info to a IAPPurchaseComplete handler that manages the purchase or the error. If there is an error this handler puts up a dialog informing the user. I notice any error is not received by the handler, instead Google puts up its own notification and the status returns as "complete". My notification never runs. That's fine and it looks better than my own but I'm curious whether something has changed in the new billing library, and if so, what. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Hello Jacque, What is the exact error that causes purchaseStateUpdate to be sent with a "complete" status? Google is supposed to show its own notification in most cases, so that's fine, but then the purchaseStateUpdate should be sent with an appropriate status anyway. Kind regards, Panos -- On Tue, 5 Oct 2021 at 20:54, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I guess this is for @Panos. > > Now that I have IAP working I noticed another thing. I'm building for > Android with LC 9.6.5 > RC-1 which includes the new billing library. My script has a > purchaseStateUpdate handler that > logs every response and sends the info to a IAPPurchaseComplete handler > that manages the > purchase or the error. If there is an error this handler puts up a dialog > informing the user. > > I notice any error is not received by the handler, instead Google puts up > its own notification > and the status returns as "complete". My notification never runs. That's > fine and it looks > better than my own but I'm curious whether something has changed in the > new billing library, > and if so, what. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
I guess this is for @Panos. Now that I have IAP working I noticed another thing. I'm building for Android with LC 9.6.5 RC-1 which includes the new billing library. My script has a purchaseStateUpdate handler that logs every response and sends the info to a IAPPurchaseComplete handler that manages the purchase or the error. If there is an error this handler puts up a dialog informing the user. I notice any error is not received by the handler, instead Google puts up its own notification and the status returns as "complete". My notification never runs. That's fine and it looks better than my own but I'm curious whether something has changed in the new billing library, and if so, what. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Hi Panos, After the login dialog, which worked fine, I got no status response on the first attempt. I realized that I was asking for a nonexistent product (I'd changed the store products during my experiments) and when I asked for a now existing one it went through fine. I got the sandbox purchase dialog and canceled the first attempt, which worked and I got a "cancelled" status. Then I purchased it again and got the "paymentReceived" status. All the handlers are in the card script but that seems to be working okay given that I did receive the status for a successful transaction. But I'd have expected an "unknown sku" error on the first attempt. I could move everything to the stack script I suppose, but it's nice to have it all encapsulated on the card. In case anyone is interested, my husband has come out into view again. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 20, 2021 6:20:24 AM panagiotis m via use-livecode wrote: Hello Jacque, Nice, I'll make sure this note is added to the docs at least. Ideally we'll fix it in the engine too, so as it throws an error if the 3rd param is empty. Now, you said you got the login dialog. What happened next, after you entered your test apple ID details? Did you get a dialog for the in-app purchase, where the price was listed, and you had to choose Buy or Cancel? Or did you get an error dialog? Also, where is the handler. for purchaseStateUpdate? Is it in the stack script? I think it has to be in the stack script Kind regards, Panos -- On Sun, 19 Sept 2021 at 19:41, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: Even a note in the documentation would help. I spent two weeks trying to figure out the problem. Was it my store setup? The iPhone? My script, which was based on the lesson example? Did I set up my store products wrong? Just where should I look? By the time I posted here I was a walking mass of frustration and my husband knew to hide in a closet. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2021 2:24:18 AM Curry Kenworthy via use-livecode wrote: Jacqueline: If the third param is omitted, the script compiles okay but apparently aborts with no error message and no information when the app runs on the device. Hey LC Team: This may be not merely a bug, but also a "bad habit" in coding practice. A habit that leads to multiple bugs. I've seen similar "aborts" that halt execution but otherwise fail without warning or info. The LCS equivalent would be a tendency to overuse "exit to top" in situations where a "return" or an error bailout would be more appropriate. Perhaps only intended as a temporary placeholder and forgotten, but either way, a better habit would reduce the number of future bugs/glitches that follow this pattern. Thanks Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Hello Jacque, Nice, I'll make sure this note is added to the docs at least. Ideally we'll fix it in the engine too, so as it throws an error if the 3rd param is empty. Now, you said you got the login dialog. What happened next, after you entered your test apple ID details? Did you get a dialog for the in-app purchase, where the price was listed, and you had to choose Buy or Cancel? Or did you get an error dialog? Also, where is the handler. for purchaseStateUpdate? Is it in the stack script? I think it has to be in the stack script Kind regards, Panos -- On Sun, 19 Sept 2021 at 19:41, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Even a note in the documentation would help. I spent two weeks trying to > figure out the problem. Was it my store setup? The iPhone? My script, > which > was based on the lesson example? Did I set up my store products wrong? > Just > where should I look? > > By the time I posted here I was a walking mass of frustration and my > husband knew to hide in a closet. > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 19, 2021 2:24:18 AM Curry Kenworthy via use-livecode > wrote: > > > Jacqueline: > > > > > If the third param is omitted, the script compiles okay > > > but apparently aborts with no error message > > > and no information when the app runs on the device. > > > > Hey LC Team: This may be not merely a bug, > > but also a "bad habit" in coding practice. > > A habit that leads to multiple bugs. > > > > I've seen similar "aborts" that halt execution > > but otherwise fail without warning or info. > > > > The LCS equivalent would be a tendency > > to overuse "exit to top" in situations > > where a "return" or an error bailout > > would be more appropriate. > > > > Perhaps only intended as a temporary placeholder > > and forgotten, but either way, a better habit > > would reduce the number of future bugs/glitches > > that follow this pattern. Thanks > > > > Best wishes, > > > > Curry Kenworthy > > > > Custom Software Development > > "Better Methods, Better Results" > > LiveCode Training and Consulting > > http://livecodeconsulting.com/ > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Even a note in the documentation would help. I spent two weeks trying to figure out the problem. Was it my store setup? The iPhone? My script, which was based on the lesson example? Did I set up my store products wrong? Just where should I look? By the time I posted here I was a walking mass of frustration and my husband knew to hide in a closet. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2021 2:24:18 AM Curry Kenworthy via use-livecode wrote: Jacqueline: > If the third param is omitted, the script compiles okay > but apparently aborts with no error message > and no information when the app runs on the device. Hey LC Team: This may be not merely a bug, but also a "bad habit" in coding practice. A habit that leads to multiple bugs. I've seen similar "aborts" that halt execution but otherwise fail without warning or info. The LCS equivalent would be a tendency to overuse "exit to top" in situations where a "return" or an error bailout would be more appropriate. Perhaps only intended as a temporary placeholder and forgotten, but either way, a better habit would reduce the number of future bugs/glitches that follow this pattern. Thanks Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Jacqueline: > If the third param is omitted, the script compiles okay > but apparently aborts with no error message > and no information when the app runs on the device. Hey LC Team: This may be not merely a bug, but also a "bad habit" in coding practice. A habit that leads to multiple bugs. I've seen similar "aborts" that halt execution but otherwise fail without warning or info. The LCS equivalent would be a tendency to overuse "exit to top" in situations where a "return" or an error bailout would be more appropriate. Perhaps only intended as a temporary placeholder and forgotten, but either way, a better habit would reduce the number of future bugs/glitches that follow this pattern. Thanks Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
@Panos: Progress. I now know why a login dialog was not showing up and why a channel wasn't created. The command "mobileStoreMakePurchase" absolutely requires three parameters. I omitted the payload string (third param) because I didn't need it and it wasn't required for iOS. I assumed it would be empty and treated accordingly. It isn't. If the third param is omitted, the script compiles okay but apparently aborts with no error message and no information when the app runs on the device. There is no clue why nothing is happening. On the off chance that was the problem I add the string "payload here" and bingo, I got the App Store login dialog. I am still not getting any status reports in purchaseStateUpdate and the purchase times out. But at least I'm logged in now. Suggestion: if a third param is missing, LC should throw an error at runtime. We'd all be saner. On 9/17/21 5:25 PM, J. Landman Gay via use-livecode wrote: Yes, I tested on real devices, both an iPad and an iPhone. I also just set up testing on the Google Play Store and got the same non-results. I will look at the test stack in the lesson, thanks Panos. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: IAP in App Store
Might we have a message path issue here? Put a test "purchaseStateUpdate" in the card of the stack that you are starting this in. Ralph DiMola IT Director rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, September 17, 2021 6:26 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: IAP in App Store Yes, I tested on real devices, both an iPad and an iPhone. I also just set up testing on the Google Play Store and got the same non-results. I will look at the test stack in the lesson, thanks Panos. On 9/17/21 3:22 PM, panagiotis m via use-livecode wrote: > Hello Jacque, > > I am away from my machine now, so I cannot test, but I would suggest > you try with the simplest example first, that is to use the sample > stack of the lesson, and just change the in-app product IDs to match > yours. If this works for you (by "works" I mean at least to show the > in-app purchase dialog), it means that something in your script blocks the communication. > If this is the case, I am happy to investigate until we find the culprit. > > Kind regards, > Panos > > Ps: I take it you are testing on a physical device, not in the > simulator, is that correct? > > On Fri, 17 Sep 2021, 22:51 J. Landman Gay via use-livecode, < > use-livecode@lists.runrev.com> wrote: > >> Panos, the LC lesson says the mobileStoreMakePurchase command sends >> the request and begins the purchasing process. The behavior I'm >> seeing is that the request isn't being sent at all. >> >> The older syntax has a specific mobilePurchaseSendRequest command, >> which the newer syntax does not use. Should I add that to my script? >> Will it hurt if I do? >> >> On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote: >>> Hello Jacque, >>> >>> How do you initiate a purchase? Have you called >>> mobileStoreEnablePurchaseUpdates? This command creates a "channel" >>> for communicating with the app store. Since you get no response at >>> all, it seems for some reason this channel is not created. Can you >>> share your purchase code? >>> >>> Kind regards, >>> Panos >>> >>> On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < >>> use-livecode@lists.runrev.com> wrote: >>> >>>> 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 | jac...@hyperactivesw.com HyperActive >>>> Software | http://www.hyperactivesw.com On September 17, 2021 >>>> 2:48:49 AM panagiotis m via use-livecode >>>> 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 purchase? >>>>> >>>>> 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 >>>>> purchaseStateUpdate. >>>&
Re: IAP in App Store
Yes, I tested on real devices, both an iPad and an iPhone. I also just set up testing on the Google Play Store and got the same non-results. I will look at the test stack in the lesson, thanks Panos. On 9/17/21 3:22 PM, panagiotis m via use-livecode wrote: Hello Jacque, I am away from my machine now, so I cannot test, but I would suggest you try with the simplest example first, that is to use the sample stack of the lesson, and just change the in-app product IDs to match yours. If this works for you (by "works" I mean at least to show the in-app purchase dialog), it means that something in your script blocks the communication. If this is the case, I am happy to investigate until we find the culprit. Kind regards, Panos Ps: I take it you are testing on a physical device, not in the simulator, is that correct? On Fri, 17 Sep 2021, 22:51 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: Panos, the LC lesson says the mobileStoreMakePurchase command sends the request and begins the purchasing process. The behavior I'm seeing is that the request isn't being sent at all. The older syntax has a specific mobilePurchaseSendRequest command, which the newer syntax does not use. Should I add that to my script? Will it hurt if I do? On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote: Hello Jacque, How do you initiate a purchase? Have you called mobileStoreEnablePurchaseUpdates? This command creates a "channel" for communicating with the app store. Since you get no response at all, it seems for some reason this channel is not created. Can you share your purchase code? Kind regards, Panos On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: 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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2021 2:48:49 AM panagiotis m via use-livecode 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 purchase? 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 purchaseStateUpdate. 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, Panos -- On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < use-livecode@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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subsc
Re: IAP in App Store
Hello Jacque, I am away from my machine now, so I cannot test, but I would suggest you try with the simplest example first, that is to use the sample stack of the lesson, and just change the in-app product IDs to match yours. If this works for you (by "works" I mean at least to show the in-app purchase dialog), it means that something in your script blocks the communication. If this is the case, I am happy to investigate until we find the culprit. Kind regards, Panos Ps: I take it you are testing on a physical device, not in the simulator, is that correct? On Fri, 17 Sep 2021, 22:51 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: > Panos, the LC lesson says the mobileStoreMakePurchase command sends the > request and begins the > purchasing process. The behavior I'm seeing is that the request isn't > being sent at all. > > The older syntax has a specific mobilePurchaseSendRequest command, which > the newer syntax does > not use. Should I add that to my script? Will it hurt if I do? > > On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote: > > Hello Jacque, > > > > How do you initiate a purchase? Have you called > > mobileStoreEnablePurchaseUpdates? This command creates a "channel" for > > communicating with the app store. Since you get no response at all, it > > seems for some reason this channel is not created. Can you share your > > purchase code? > > > > Kind regards, > > Panos > > > > On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < > > use-livecode@lists.runrev.com> wrote: > > > >> 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 | jac...@hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On September 17, 2021 2:48:49 AM panagiotis m via use-livecode > >> 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 > >>> purchase? > >>> > >>> 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 > >>> purchaseStateUpdate. > >>> 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, > >>> Panos > >>> -- > >>> > >>> > >>> On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < > >>> use-livecode@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 | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > >>> ___ > >>> use-livecode mailing list > >>> use-livecode@lists.runr
Re: IAP in App Store
Panos, the LC lesson says the mobileStoreMakePurchase command sends the request and begins the purchasing process. The behavior I'm seeing is that the request isn't being sent at all. The older syntax has a specific mobilePurchaseSendRequest command, which the newer syntax does not use. Should I add that to my script? Will it hurt if I do? On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote: Hello Jacque, How do you initiate a purchase? Have you called mobileStoreEnablePurchaseUpdates? This command creates a "channel" for communicating with the app store. Since you get no response at all, it seems for some reason this channel is not created. Can you share your purchase code? Kind regards, Panos On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: 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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2021 2:48:49 AM panagiotis m via use-livecode 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 purchase? 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 purchaseStateUpdate. 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, Panos -- On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < use-livecode@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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
Here's what I'm doing. The initial request is set up for testing, the capitalized parts will be removed later. on purchaseIAPProduct pProductID,pQuantity -- pProductID = the reverse-domain store ID -- pQuantity = The number of pProductIDs to purchase. Defaults to 1 if mobileStoreCanMakePurchase() = false then -- purchasing disabled LOG "mobileStoreCanMakePurchase = FALSE" doAnswer "Purchasing is not enabled on this device." exit purchaseIAPProduct end if -- init: put empty into sCurrentStatus put empty into sIAPErrorText if pQuantity is not a number then put 1 into pQuantity if sTimeout is not a number then put 120 into sTimeout send "IAPtimeout" to me in sTimeout seconds put the result into sTimerID IF THE CRELEASE OF THIS STACK <> TRUE THEN PUT "com.wordathand.fpmobile.testsub" INTO pProductID LOG "BEGIN IAP PURCHASE:" && pProductID mobileStoreEnablePurchaseUpdates mobileStoreSetProductType pProductID, "inapp" -- required for Play Store; compatible with App Store mobileStoreMakePurchase pProductID, pQuantity end purchaseIAPProduct on purchaseStateUpdate pPurchaseID, pProductID, pState LOG "Purchase state:" && pProductID && pState &&"|" && "PurchaseID:" && pPurchaseID put pState into sCurrentStatus ... etc. end purchaseStateUpdate on IAPtimeout -- If the process does not complete in sTimeout seconds we wind up here mobileDisablePurchaseUpdates put "timeout" into sCurrentStatus put "Purchase has timed out" into sIAPErrorText IAPPurchaseComplete false, sCurrentStatus, sIAPErrorText end IAPtimeout IAPPurchaseComplete is the equivalent of the lesson's offerPurchase if it receives "true", only in this case I send data to the backend server. Of course, this handler never gets a chance to run. One other thing: the fake product ID doesn't have the same reverse-domain as the real products. I wanted to make sure it didn't get confused with the real ones. I can't imagine that matters but thought I'd mention it. On 9/17/21 1:34 PM, panagiotis m via use-livecode wrote: Hello Jacque, How do you initiate a purchase? Have you called mobileStoreEnablePurchaseUpdates? This command creates a "channel" for communicating with the app store. Since you get no response at all, it seems for some reason this channel is not created. Can you share your purchase code? Kind regards, Panos On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: 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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2021 2:48:49 AM panagiotis m via use-livecode 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 purchase? 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 purchaseStateUpdate. 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, Panos -- On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < use-livecode@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 |
Re: IAP in App Store
Hello Jacque, How do you initiate a purchase? Have you called mobileStoreEnablePurchaseUpdates? This command creates a "channel" for communicating with the app store. Since you get no response at all, it seems for some reason this channel is not created. Can you share your purchase code? Kind regards, Panos On Fri, 17 Sep 2021, 19:39 J. Landman Gay via use-livecode, < use-livecode@lists.runrev.com> wrote: > 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 | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 17, 2021 2:48:49 AM panagiotis m via use-livecode > 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 > > purchase? > > > > 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 > > purchaseStateUpdate. > > 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, > > Panos > > -- > > > > > > On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < > > use-livecode@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 | jac...@hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> > >> ___ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2021 2:48:49 AM panagiotis m via use-livecode 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 purchase? 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 purchaseStateUpdate. 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, Panos -- On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < use-livecode@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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: IAP in App Store
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 purchase? 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 purchaseStateUpdate. 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, Panos -- On Fri, 17 Sept 2021 at 01:27, J. Landman Gay via use-livecode < use-livecode@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 | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
IAP in App Store
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 | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode