Method InitiatePurchase
InitiatePurchase(Product, string)
Initiate a purchase from the controlled store.
Declaration
void InitiatePurchase(Product product, string payload)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product to be purchased. |
string | payload | The developer payload provided for certain stores that define such a concept (ex: Google Play). |
InitiatePurchase(string, string)
Initiate a purchase from the controlled store.
Declaration
void InitiatePurchase(string productId, string payload)
Parameters
Type | Name | Description |
---|---|---|
string | productId | The id of the product to be purchased. |
string | payload | The developer payload provided for certain stores that define such a concept (ex: Google Play). |
InitiatePurchase(Product)
Initiate a purchase from the controlled store.
Declaration
void InitiatePurchase(Product product)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product to be purchased. |
InitiatePurchase(string)
Initiate a purchase from the controlled store
Declaration
void InitiatePurchase(string productId)
Parameters
Type | Name | Description |
---|---|---|
string | productId | The id of the product to be purchased. |