CurrentApp.ReportConsumableFulfillmentAsync | reportConsumableFulfillmentAsync method

Applies to Windows and Windows Phone

Notifies the Windows Store that the purchase of a consumable is fulfilled and that the user has the right to access the content.

Syntax


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

Parameters

productId

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

Identifies the consumable.

transactionId

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

Identifies a transaction that includes the purchase of the consumable (productId).

Return value

Type: IAsyncOperation<FulfillmentResult>

A value that indicates the status of fulfillment for a consumable in-app product. Possible values are defined by the FulfillmentResult enumeration.

Remarks

A unique ID is required for each instance of a consumable product 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 Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

CurrentApp

 

 

Show:
© 2014 Microsoft