store.canMakePurchases

Type Boolean
Revision Release 2022.3683
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