d 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:
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, li
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
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 mana
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 purc
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 fo
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 o
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.
@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 woul
ehalf
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 l
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 mac
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 pur
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
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 mobileStoreCanMakePur
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 reg
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 t
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,
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
18 matches
Mail list logo