Re: [w3c/payment-request] Location declaration (#870)

Hi @davidbenoit . `basic-card` in Chrome will not share the first 6 digits of the card with the merchant until the user has clicked the "Confirm" button on the CVC unlock screen of the Payment Request UI.

I recommend that you call `paymentResponse.complete('unknown')` at this point to dismiss the Payment Request UI, analyze the first 6 digits of the card and present to the user an HTML UI that displays the country and prompt a user action to proceed, e.g., a `<button>` click.

It's unfortunate that the full transaction cannot be completed within the Payment Request UI here. It may be possible in the future to utilize either `modifiers` or `paymentmethodchange` event to improve this user experience.

-- 
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/870#issuecomment-505469996

Received on Tuesday, 25 June 2019 14:28:02 UTC