InAppPurchasesManager.UpdatePurchaseInformation

Syntax:

UpdatePurchaseInformation(<PurchaseIDs>)

Parameters:

<PurchaseIDs> (required)

Type: Array.
Array of purchase identifiers, information about which is updated.

Description:

Receives a list of acquired purchases from the service store. Call for this method updates acquired purchases data stored by the operating system. The method can solve the following tasks:
  • restore information on acquired permanent purchases and active subscriptions after the mobile application has been completely deleted and re-installed;
  • update information on acquired permanent purchases and subscriptions if the user uses the application on several devices;
  • update and record information on requested purchases (description, price and other fields) to a local repository, this data can be retrieved with the help of the method GetList.
This method requires stable Internet connection. If not available, an exception is generated.
It should be noted that calling a service store may take a considerable period of time.

Availability:

Mobile application (client).

    

1C:Enterprise Developer's Community