Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
StoreKit.CanMakePayments
Indicates whether the user is allowed to make payments.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
StoreKit | 8.2 | Yes | No | No | No | Yes |
MBS( "StoreKit.CanMakePayments" ) More
Parameters
none
Result
Returns 1 or 0.
Description
Indicates whether the user is allowed to make payments.Returns 1 if the user is allowed to authorize payment. 0 if they do not have permission.
An iPhone can be restricted from accessing the Apple App Store. For example, parents can restrict their children’s ability to purchase additional content. Your application should confirm that the user is allowed to authorize payments before adding a payment to the queue. Your application may also want to alter its behavior or appearance when the user is not allowed to authorize payments.
Examples
Check status:
Set Variable [ $r ; Value: MBS( "StoreKit.CanMakePayments" ) ]
Created 22nd April 2018, last changed 22nd April 2018
StoreKit.AddPayment - StoreKit.FinishTransaction
Feedback: Report problem or ask question.
Links
MBS Xojo blog