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.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Adds a new payment to the transaction query.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
StoreKit 8.2 Yes No No No Yes
MBS( "StoreKit.AddPayment"; productIdentifier { ; quantity } )   More


Parameter Description Example value
productIdentifier The product identifier. 1234
quantity Optional
The quantity of the product.
Default is 1.


Returns OK or error.


Adds a new payment to the transaction query.
When a payment request is added to the queue, the payment queue processes that request with the Apple App Store and arranges for payment from the user. When that transaction is complete or if a failure occurs, the payment queue sends the payment transaction object that encapsulates the request to all transaction observers.
Use StoreKit.Transactions later to query status.


Start order of item:

Set Variable [ $r ; Value: MBS( "StoreKit.AddPayment"; "123"; 1 ) ]

See also

Blog Entries

Created 22nd April 2018, last changed 22nd April 2018

Speech.Speak   -   StoreKit.CanMakePayments

Feedback: Report problem or ask question.

MBS Xojo Plugins