Skip to content

Commit 3de6c47

Browse files
committed
show method of request obj
1 parent 8291243 commit 3de6c47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ const request = new PaymentRequest([
181181
]);
182182
```
183183

184-
Then call the `show` method to start the payment flow:
184+
Then call the `show` method of the `PaymentRequest` object, to start the payment flow:
185185

186186
```javascript
187187
const response = await request.show();
188188
```
189189

190-
This will display the Store purchase UI to the user, where the user can view details about the product that they're trying to purchase. During this process, the current browser session is temporarily disabled until the purchase flow is complete. The user can either cancel the transaction, or proceed with the payment:
190+
This displays the Store purchase UI to the user, where the user can view details about the product that they're trying to purchase. During this process, the current browser session is temporarily disabled until the purchase flow is complete. The user can either cancel the transaction, or proceed with the payment:
191191

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

0 commit comments

Comments
 (0)