Method RequestProductReceiptAsync
RequestProductReceiptAsync(string)
Requests the purchase of an add-on (also called an in-app product or IAP). Additionally, calling this method displays the UI that is used to complete the transaction via the Microsoft Store.
Declaration
public IAsyncOperation<string> RequestProductReceiptAsync(string productId)
Parameters
Type | Name | Description |
---|---|---|
string | productId | The product ID of the add-on to purchase. |
Returns
Type | Description |
---|---|
IAsyncOperation<string> | An async operation for a string providing in-app transaction details for the provided productId. |