Using mobileRestorePurchases

Dan Friedman dan at clearvisiontech.com
Mon Jul 23 16:56:44 EDT 2012


I posted this question about a week ago and got no answers.  So, I thought I would try asking one more time before sending this one up to the Mother Ship.

How do you use the mobileRestorePurchases command to restore in-app purchases?

I successfully purchased an in-app purchase with the "test" iTunes account on the simulator.  I put the mobileRestorePurchases command in an openStack handler and it did fire... I was prompted for my test iTunes password.  But, then nothing happened.  What should happen?  I figured that a purchaseStateUpdate would have been sent to the stack where mobilePurchaseState(pPurchaseID) that was "restored" – but it wasn't.

Furthermore, if I attempt to purchase the in-app purchase again, I am told that I have already purchased it and would I like to download it again.  When I tap yes, I get an error that I can't connect to the iTunes store.

ANY help or guidance would be GREATLY appreciated!
-Dan



More information about the use-livecode mailing list