Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

StoreKit.AddPayment

Adds a new payment to the transaction query.

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

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

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


SpeechRecognition.SupportsOnDeviceRecognition - StoreKit.CanMakePayments

Feedback: Report problem or ask question.