- From: Rouslan Solomakhin <notifications@github.com>
- Date: Fri, 17 Aug 2018 11:17:10 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 17 August 2018 18:17:31 UTC
1. We would like to add ability to specify shopping cart content images in Payment Request. 2. We would like to add ability to specify both the primary and the second label for shipping options. This would allow distinguishing between the shipping speed ("2-day") and the expected delivery date ("Sunday, May 5"). For example: ```javascript new PaymentRequest(paymentMethods, { total: {label: "Total", amount: {currency: "USD", value: "50"}}, displayItems: [{ label: "Hat", icons: [{ src: "hat64.webp", sizes: "64x64", type: "image/webp" },{ src: "hat64.png", sizes: "64x64" }, { src: "hat128.png", sizes: "128x128" }], amount: {currency: "USD", value: "50"} }], shippingOptions: [{ id: 'twoday', label: '2-day', sublabel: 'Sunday, May 2', amount: {currency: "USD", value: "0"} }] }, {requestShipping: true}); ``` cc @fengrui129 @zkoch @DurgaTheHutt -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/payment-request/issues/761
Received on Friday, 17 August 2018 18:17:31 UTC