- From: Stephen McGruer <notifications@github.com>
- Date: Mon, 27 Feb 2023 07:34:45 -0800
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 February 2023 15:34:58 UTC
You are passing `options = {requestShipping: true}`, which will trigger address collection. If you remove that option, Chrome will not prompt the user to provide a shipping address. Note however that if you don't request shipping in the example you give above, I think you might trigger the [skip the sheet](https://web.dev/setting-up-a-payment-method/#how-browsers-can-skip-the-payment-request-ui-and-launch-a-payment-app-directly) behavior and end up directly at whatever payment app you are specifying in `supportedInstruments` (if you are only specifying one). It is a fair point that I'm not sure if it's possible in Chrome to get a browser sheet UI that shows only the order details and nothing else - we assume that the payment app will also show the order details in that case. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/payment-handler/issues/410#issuecomment-1446550656 You are receiving this because you are subscribed to this thread. Message ID: <w3c/payment-handler/issues/410/1446550656@github.com>
Received on Monday, 27 February 2023 15:34:58 UTC