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

Parameters

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

Description

Handle a purchase request from a user.

Developer payload is provided for stores that define such a concept (Google Play).