Hi,
I am testing the IAP on my iPhone (on dev env.). All working well except the store.canMakePurchases.
I have turn on the restriction on my iPhone so I will not be able to do the purchase but the store.canMakePurchases retun True instead of False - Why ?
........ elseif ( system.getInfo( "platformName" ) == "iPhone OS" ) then store = require( "store" ) store.init( "apple", storeTransaction ) if store.isActive then print (store.canMakePurchases) -- Print True !!! if (store.canMakePurchases) then store.purchase( { i\_productID } ) else native.showAlert( "Notice","Note that purchasing is forbidden. In order to enable purchases turn-off the Restriction option on your iPhone",{ "OK" } ) end end .....