- From: Adrian Hope-Bailie <notifications@github.com>
- Date: Mon, 04 Mar 2019 09:38:22 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 March 2019 17:38:44 UTC
We should distinguish between data required for the payment and the data requested by the merchant as part of checkout. E.g. Billing address is actually needed to authorize a card payment in many markets but we also provide a mechanism for the merchant to ask for an email address, phone number etc. In this API we don't have any influence over payment specific data (either in the request or response). Billing address is used in the card payment flow but is: - unique to certain territories - used as a fraud indicator along with potentially many other data points that are decided by the card industry If there is a desire to make it possible that data like email and phone number can be requested but marked as optional then we should look at changing the [`PaymentOptions` dictionary](https://w3c.github.io/payment-request/#paymentoptions-dictionary) so that the fields are not boolean but rather some enum like `'required' | 'optional' | undefined`. -- 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/842#issuecomment-469344472
Received on Monday, 4 March 2019 17:38:44 UTC