App. Report Consumable Fulfillment Async(String, Guid) Method
Notifies the Microsoft Store that the purchase of a consumable add-on (also called an in-app product or IAP) is fulfilled and that the user has the right to access the content.
[Windows.Foundation.Metadata.RemoteAsync] public static IAsyncOperation<FulfillmentResult> ReportConsumableFulfillmentAsync(string productId, Guid transactionId);
function reportConsumableFulfillmentAsync(productId, transactionId)
Public Shared Function ReportConsumableFulfillmentAsync (productId As String, transactionId As Guid) As IAsyncOperation(Of FulfillmentResult)
The product ID of the consumable add-on to report as fulfilled.
The transaction ID for the purchase of the consumable add-on.
A FulfillmentResult value that indicates the fulfillment status for the consumable add-on.
The product ID is the string that the app uses to identify the add-on. You enter the product ID when submitting your add-on in Partner Center, where it is associated with the description, price tier and lifetime. For more information, see How to use product IDs for add-ons in your code.
A unique transaction ID is required for each instance of a consumable product that has been purchased more than once.