InAppPurchasesManager.ConsumePurchase

Syntax:

ConsumePurchase(<Purchase>)

Parameters:

<Purchase> (required)

Type: InAppPurchase; String.
Purchase which should be consumed.

Returned value:

Type: Boolean.

Description:

Purchase is marked as spent. Whether this method can be called is checked with the help of method PurchaseConsumingSupported:
  • On Android the method deletes information that the purchase has already been acquired by sending a query to the server store, after that the purchase becomes again available for acquiring;
  • On iOS an exception is generated.

Availability:

Mobile application (client).

    

1C:Enterprise Developer's Community