store.canMakePurchases

Type Boolean
Revision Current Public Release (2017.3068)
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