w3c / payment-request

Payment Request API
https://www.w3.org/TR/payment-request/
Other
489 stars 135 forks source link

Pre-calculate shipping costs for available addresses #615

Open dandv opened 7 years ago

dandv commented 7 years ago

Use case: the user has 2 or more address they can ship to. The merchant would like to pre-calculate the shipping costs and ideally pre-sort the addresses by cost.

To prevent accessing PII without the user's knowledge, the UA could provide only partial addresses (e.g. Country + zip/postal code) upfront, based on which the merchant could still calculate costs.

ianbjacobs commented 8 months ago

This issue was raised in Payment Request, but closed once we removed addresses from that API. We anticipate adding addresses back to the specification and so are re-opening this issue proactively.

ianbjacobs commented 2 months ago

We added addresses back to the specification in the 7 August 2024 CRD