I have a button that permits in-app purchases. The code looks like this:
mobileStoreMakePurchase "com.UnderdogEducational.spellinggadget.nonconsumable", "1", "This belongs to me"
mobileStoreSetProductType "com.UnderdogEducational.spellinggadget.noconsum", "inapp"
After the purchase goes through, I would like the script to hide that button.
How can I setup the "Hide this button" script to run only if the purchase went through?
Thank you.
In-App Purchases
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller