Skip to content

Commit cf155f2

Browse files
committed
clean up Response
1 parent 07796a3 commit cf155f2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,14 @@ This displays the Store purchase UI to the user, where the user can view details
191191

192192
* If the user cancels the payment, the Promise that's returned by the `show` method will be rejected with an error.
193193

194-
* If the user successfully pays and completes the purchase, the Promise will resolve with a `PaymentResponse`.
195-
196-
In the `details` property of the payment response, a purchase token is returned.
194+
* If the user successfully pays and completes the purchase, the Promise will resolve with a `PaymentResponse`. In the `details` property of the payment response, a purchase token is returned.
197195

198196
See also:
199197
* [Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API)
200198
* [PaymentRequest: PaymentRequest() constructor](https://developer.mozilla.org/docs/Web/API/PaymentRequest/PaymentRequest)
201199
* [PaymentRequest: show() method](https://developer.mozilla.org/docs/Web/API/PaymentRequest/show)
202-
* [PaymentResponse: details property](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
200+
* [PaymentResponse](https://developer.mozilla.org/docs/Web/API/PaymentResponse/)
201+
* [PaymentResponse: details property](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
203202

204203

205204
<!-- ====================================================================== -->
@@ -287,7 +286,8 @@ MDN:
287286
* [Payment Request API](https://developer.mozilla.org/docs/Web/API/Payment_Request_API)
288287
* [PaymentRequest: PaymentRequest() constructor](https://developer.mozilla.org/docs/Web/API/PaymentRequest/PaymentRequest)
289288
* [PaymentRequest: show() method](https://developer.mozilla.org/docs/Web/API/PaymentRequest/show)
290-
* [PaymentResponse: details property](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
289+
* [PaymentResponse](https://developer.mozilla.org/docs/Web/API/PaymentResponse/)
290+
* [PaymentResponse: details property](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)
291291
* [Intl.NumberFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
292292

293293
W3C:

0 commit comments

Comments
 (0)