Method BeginPurchase
BeginPurchase(string, string)
Called when the player initiates a real money in-app purchase.
Declaration
void BeginPurchase(string productId, string customPayload = "")
Parameters
Type | Name | Description |
---|---|---|
string | productId | The platform-specific product ID to send to the purchasing platform. |
string | customPayload | An optional arbitrary string to send to the purchasing platform, with the expectation of getting the same string back eventually (if the purchasing platform supports that). |