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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

StoreKit.RestoreCompletedTransactions

Asks the payment queue to restore previously completed purchases.

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

Parameters

Parameter Description Example value
Username Optional
An opaque identifier for the user’s account on your system.

Result

Returns OK or error.

Description

Asks the payment queue to restore previously completed purchases.
Your application calls this method to restore transactions that were previously finished so that you can process them again. For example, your application would use this to allow a user to unlock previously purchased content onto a new device.
When you create a new product to be sold in your store, you choose whether that product can be restored or not. See the In-App Purchase Programming Guide for more information.

The payment queue will deliver a new transaction for each previously completed transaction that can be restored. Each transaction includes a copy of the original transaction.

See also

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


StoreKit.RequestReview   -   StoreKit.SetProductViewFinishedTrigger

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins