Version: 2017.1
public void Purchase (Purchasing.ProductDefinition product, string developerPayload);

Parameters

developerPayload Any additional developer-supplied data.
product The product to purchase.

Description

Called when a user wants to buy the specified Product.