Method OnPurchaseFailed
OnPurchaseFailed(string, string)
Callback received after making a failed purchase.
Declaration
void OnPurchaseFailed(string productId, string error)
Parameters
Type | Name | Description |
---|---|---|
string | productId | The ID of the product purchased. |
string | error | The error explaining the failure. |