store.canMakePurchases

Type Boolean
Revision 2017.3060
Keywords Apple, IAP, in-app purchases, canMakePurchases
See also store.purchase()
store.*

Overview

On iOS, there is a setting which disables in-app purchasing, commonly used to prevent children from purchasing items without permission. Use this property to check in advance if purchasing is allowed and notify the user if purchasing is forbidden.

This property will be true if purchasing is allowed, false otherwise.

Syntax

store.canMakePurchases