Skip to content

Commit 611974f

Browse files
committed
why call show()
1 parent 3de6c47 commit 611974f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ MDN:
163163
<!-- ====================================================================== -->
164164
## Purchasing an item (`PaymentRequest` constructor and `show` method)
165165

166-
After your products and details are displayed to the user, implement the purchase flow by using the Payment Request API. To purchase an item, construct a request that contains the item details by using the `PaymentRequest` constructor, and then use the `show` method of the `PaymentRequest` object.
166+
After your products and details are displayed to the user, implement the purchase flow by using the Payment Request API. To purchase an item, first construct a request that contains the item details by using the `PaymentRequest` constructor, and then use the `show` method of the `PaymentRequest` object to start the payment flow.
167167

168168
When combined with the Digital Goods API, the only required input parameter for the `PaymentRequest` constructor is `methodData`. In that parameter:
169169
* Use the `supportedMethods` member to identify Microsoft Store Billing as the payment method with the string `"https://store.microsoft.com/billing"`.

0 commit comments

Comments
 (0)