Skip to content

Commit e7192dc

Browse files
committed
clarif PurchaseDetails list
1 parent cf155f2 commit e7192dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

microsoft-edge/progressive-web-apps-chromium/how-to/digital-goods-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ See also:
247247
<!-- ====================================================================== -->
248248
## Getting the purchase history (`listPurchaseHistory` method)
249249

250-
Use the `listPurchaseHistory` method of the `DigitalGoodsService` interface to get the purchase history. This method returns a list that shows the most recent purchase made by the user for each item, regardless of whether the purchase is expired, canceled, or consumed. This method returns a list of `PurchaseDetails` containing the `itemId` and `purchaseToken` for each purchase.
250+
Use the `listPurchaseHistory` method of the `DigitalGoodsService` interface to get the purchase history.
251+
252+
This method returns a list of `PurchaseDetails` containing the `itemId` and `purchaseToken` for each purchase. The list includes the most recent purchase made by the user for each item, regardless of whether the purchase is expired, canceled, or consumed.
251253

252254
```javascript
253255
const purchaseList = await digitalGoodsService.listPurchaseHistory();

0 commit comments

Comments
 (0)