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

IStoreListener.ProcessPurchase

Parameters

eThe purchase details.

Returns

PurchaseProcessingResult Applications should only return PurchaseProcessingResult.Complete when a permanent record of the purchase has been made. If PurchaseProcessingResult.Pending is returned Unity IAP will continue to notify the app of the purchase on startup, also via ProcessPurchase.

Description

Called when a purchase succeeds.

May be called again at startup for a given purchase if the application previously returned PurchaseProcessingResult.Pending from ProcessPurchase.

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