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

PurchaseFailureDescription Constructor

public PurchaseFailureDescription(string productId, Purchasing.PurchaseFailureReason reason, string message);

Parameters

productIdThe store-specific product ID which failed to purchase.
reasonThe reason for the purchase failure.
messageMore information about the failure from Unity IAP or the platform store, if available.

Description

Creates a PurchaseFailureDescription.

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