Re: [w3c/payment-request] Handling in-app shipping changes (Issue #1042)

> Are there any docs or demos you can share with PaymentRequestEvent.changeShippingAddress?

We have a few demos at https://rsolomakhin.github.io/ under "Shipping, delivery, pickup". For example, see https://rsolomakhin.github.io/pr/us/.

> Is this a valid use case for keeping modifiers as part of the spec?

We can consider keeping `modifiers` in the API for now. (Ideally, we would be able to serve this use case by moving `data` to be a top-level key in the [PaymentDetailsUpdate](https://w3c.github.io/payment-request/#dom-paymentdetailsupdate) dictionary, but that's a low priority enhancement.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/1042#issuecomment-2583235364
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/payment-request/issues/1042/2583235364@github.com>

Received on Friday, 10 January 2025 16:47:49 UTC