Skip to content

Commit e56bae1

Browse files
committed
remove PaymentRequestEvent
1 parent ad84e8e commit e56bae1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Use the `show` method of the `PaymentRequest` interface to purchase an item, aft
167167

168168
Once your products and details are displayed to the user, you can implement the purchase flow by using the Payment Request API. When combined with the Digital Goods API, the only required input parameter is `methodData`.
169169

170-
In the `PaymentRequest` constructor's `methodData`⁠⁠ parameter (type =`PaymentRequestEvent`):
170+
In the `PaymentRequest` constructor's `methodData`⁠⁠ parameter:
171171
* Use the `supportedMethods` member to identify Microsoft Store Billing as the payment method with the string `"https://store.microsoft.com/billing"`.
172172
* In the `data` member, pass along the item ID as the `sku`:
173173

@@ -204,7 +204,6 @@ See also:
204204
* [Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API)
205205
* [PaymentRequest: PaymentRequest() constructor](https://developer.mozilla.org/docs/Web/API/PaymentRequest/PaymentRequest)
206206
* [PaymentRequest: show() method](https://developer.mozilla.org/docs/Web/API/PaymentRequest/show)
207-
* [PaymentRequestEvent: methodData property](https://developer.mozilla.org/docs/Web/API/PaymentRequestEvent/methodData)
208207

209208

210209
<!-- ====================================================================== -->
@@ -295,7 +294,6 @@ MDN:
295294
* [Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API)
296295
* [PaymentRequest: PaymentRequest() constructor](https://developer.mozilla.org/docs/Web/API/PaymentRequest/PaymentRequest)
297296
* [PaymentRequest: show() method](https://developer.mozilla.org/docs/Web/API/PaymentRequest/show)
298-
* [PaymentRequestEvent: methodData property](https://developer.mozilla.org/docs/Web/API/PaymentRequestEvent/methodData)
299297
* [Intl.NumberFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
300298

301299
W3C:

0 commit comments

Comments
 (0)