Skip to main content
CurrentAppSimulator.ReportConsumableFulfillmentAsync | reportConsumableFulfillmentAsync method

Applies to Windows and Windows Phone

Simulates notifying the Windows Store that the purchase of a consumable in-app product is fulfilled and that the user has the right to access the content.

Syntax


Windows.ApplicationModel.Store.CurrentAppSimulator.reportConsumableFulfillmentAsync(productId, transactionId).done( /* Your success and error handlers */ );

public static IAsyncOperation<FulfillmentResult> ReportConsumableFulfillmentAsync(
  string productId, 
  Guid transactionId
)

Public Shared Function ReportConsumableFulfillmentAsync(
  productId As String,  
  transactionId As Guid 
) As IAsyncOperation(Of FulfillmentResult)

public:
static IAsyncOperation<FulfillmentResult>^ ReportConsumableFulfillmentAsync(
  String^ productId, 
  Guid transactionId
)

Parameters

productId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Identifies the consumable in-app product.

transactionId

Type: String [JavaScript] | System.Guid [.NET] | Platform::Guid [C++]

Identifies a simulated transaction that includes the purchase of the consumable in-app product (productId).

Return value

Type: IAsyncOperation<FulfillmentResult>

A value that indicates the status of fulfillment for a simulated consumable in-app product purchase.

Remarks

A unique ID is required for each instance of a consumable that has been purchased more than once.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

CurrentAppSimulator