- From: MimiaBenna <notifications@github.com>
- Date: Fri, 24 Feb 2023 08:00:34 -0800
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 February 2023 16:00:46 UTC
thank you for your response.
another question on the payment request I didn't want to display the delivery address but I can't get it, what do I have to do to remove it. il want just the detail order and metode payment
`
const supportedInstruments = [{
supportedMethods: 'https://ipayreq...',
}];
const details = {
id: 'order-123',
displayItems: [
{
label: "Sub-total",
amount: { currency: "EUR", value: "55.00" },
},
{
label: "T",
amount: { currency: "EUR", value: "115.00" },
},
{
label: "Art",
amount: { currency: "EUR", value: "5.00" },
},
],
total: {
label: "Total",
amount: { currency: "EUR", value: "65.00" },
},
};
const options = {requestShipping: true};
const request =new PaymentRequest(supportedInstruments, details, options); `
Thank you thank you
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/410#issuecomment-1443898955
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/payment-handler/issues/410/1443898955@github.com>
Received on Friday, 24 February 2023 16:00:46 UTC