I am setting up IAP in one of my apps and currently Im having some trouble with giving the user feedback when he cant purchase the product. Like if he has the option for IAP turned off. This is for iOS by the way.
I have setup a check:
if store.canMakePurchases then
store.purchase( {validProducts[1]} )
else
native.showAlert("Store purchases are not available, please try again later.", { "OK" } )
end
This works just fine if I have enabled IAP on my phone and everything else works as its should like. But if I turn the option to buy IAP off nothing happens when I tap the button. I dont get the alert message. Should I not have gotten that popup then? or is there some other thing I need to check for? [import]uid: 17969 topic_id: 26700 reply_id: 326700[/import]