Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IStoreController.ConfirmPendingPurchase

public void ConfirmPendingPurchase(Purchasing.Product product);

Parameters

productThe product to confirm the conclusion of its purchase transaction.

Description

Confirm a pending purchase.

Where an application returned PurchaseProcessingResult.Pending from IStoreListener.ProcessPurchase, this method should be used to inform Unity IAP that the Application has made a record of the purchase. Once a purchase is confirmed, Unity IAP will not inform the application of it again.

See Also: PurchaseProcessingResult, IStoreListener.

Did you find this page useful? Please give it a rating: