Property | Type | Description |
---|
Method | Description | |
---|---|---|
Pay ( string product, string action = "purchaseitem", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate |
Pay the specified product, action, quantity, quantityMin, quantityMax, requestId, pricepointId, testCurrency and callback.
|
|
PayWithProductId ( string productId, string action = "purchaseiap", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate |
Pay the specified productId, action, quantity, quantityMin, quantityMax, requestId, pricepointId, testCurrency and callback.
|
|
PayWithProductId ( string productId, string action = "purchaseiap", string developerPayload = null, string testCurrency = null, FacebookDelegate |
Pay the specified productId, action, developerPayload, testCurrency and callback.
|
public static Pay ( string product, string action = "purchaseitem", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate |
||
product | string | The URL of your og:product object that the user is looking to purchase. |
action | string | Should always be purchaseitem. |
quantity | int | /// The amount of this item the user is looking to purchase - typically used when implementing a virtual currency purchase. /// |
quantityMin | int | /// The minimum quantity of the item the user is able to purchase. /// This parameter is important when handling price jumping to maximize the efficiency of the transaction. /// |
quantityMax | int | /// The maximum quantity of the item the user is able to purchase. /// This parameter is important when handling price jumping to maximize the efficiency of the transaction. /// |
requestId | string | /// The developer defined unique identifier for this transaction, which becomes /// attached to the payment within the Graph API. /// |
pricepointId | string | /// Used to shortcut a mobile payer directly to the /// mobile purchase flow at a given price point. /// |
testCurrency | string | /// This parameter can be used during debugging and testing your implementation to force the dialog to /// use a specific currency rather than the current user's preferred currency. This allows you to /// rapidly prototype your payment experience for different currencies without having to repeatedly /// change your personal currency preference settings. This parameter is only available for admins, /// developers and testers associated with the app, in order to minimize the security risk of a /// malicious JavaScript injection. Provide the 3 letter currency code of the intended forced currency. /// |
callback | FacebookDelegate |
The callback to use upon completion. |
return | void |
public static PayWithProductId ( string productId, string action = "purchaseiap", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate |
||
productId | string | The product Id referencing the product managed by Facebook. |
action | string | Should always be purchaseiap. |
quantity | int | /// The amount of this item the user is looking to purchase - typically used when implementing a virtual currency purchase. /// |
quantityMin | int | /// The minimum quantity of the item the user is able to purchase. /// This parameter is important when handling price jumping to maximize the efficiency of the transaction. /// |
quantityMax | int | /// The maximum quantity of the item the user is able to purchase. /// This parameter is important when handling price jumping to maximize the efficiency of the transaction. /// |
requestId | string | /// The developer defined unique identifier for this transaction, which becomes /// attached to the payment within the Graph API. /// |
pricepointId | string | /// Used to shortcut a mobile payer directly to the /// mobile purchase flow at a given price point. /// |
testCurrency | string | /// This parameter can be used during debugging and testing your implementation to force the dialog to /// use a specific currency rather than the current user's preferred currency. This allows you to /// rapidly prototype your payment experience for different currencies without having to repeatedly /// change your personal currency preference settings. This parameter is only available for admins, /// developers and testers associated with the app, in order to minimize the security risk of a /// malicious JavaScript injection. Provide the 3 letter currency code of the intended forced currency. /// |
callback | FacebookDelegate |
The callback to use upon completion. |
return | void |
public static PayWithProductId ( string productId, string action = "purchaseiap", string developerPayload = null, string testCurrency = null, FacebookDelegate |
||
productId | string | The product Id referencing the product managed by Facebook. |
action | string | Should always be purchaseiap. |
developerPayload | string | /// A string that can be used to provide supplemental information about an order. It can be /// used to uniquely identify the purchase request. /// |
testCurrency | string | /// This parameter can be used during debugging and testing your implementation to force the dialog to /// use a specific currency rather than the current user's preferred currency. This allows you to /// rapidly prototype your payment experience for different currencies without having to repeatedly /// change your personal currency preference settings. This parameter is only available for admins, /// developers and testers associated with the app, in order to minimize the security risk of a /// malicious JavaScript injection. Provide the 3 letter currency code of the intended forced currency. /// |
callback | FacebookDelegate |
The callback to use upon completion. |
return | void |