New issue
Advanced search Search tips

Issue 607672 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 587995



Sign in to add a comment

Require explicit user action to provide the merchant website with the user's shipping address

Project Member Reported by rouslan@chromium.org, Apr 28 2016

Issue description

If the merchant requires shipping and provides no shipping options in the PaymentRequest call, then the merchant wants to know user's address to calculate shipping availability. Chrome should provide user's address to the merchant only upon an explicit action from the user.

This bug is for the Android, as other platforms don't have the PaymentRequest UI yet.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6862d5f1cc6a54b2aac91da08acf842efd5778a0

commit 6862d5f1cc6a54b2aac91da08acf842efd5778a0
Author: rouslan <rouslan@chromium.org>
Date: Thu Apr 28 22:30:54 2016

Require explicit user action for shipping address.

This patch makes PaymentRequest require an explicit user action to
provide their shipping address to the merchant website. This applies
only to the merchants that request shipping address from PaymentRequest.

If merchant provides NO SHIPPING OPTIONS in first request:
 - Merchant needs an address for calculations. PaymentRequest requires
   the user to make an address selection to send to the merchant.

If merchant provides a SINGLE SHIPPING OPTION in first request:
 - Merchant supports shipping worldwide at the same cost. PaymentRequest
   selects the default address and the only shipping option. The
   merchant gets the address when the user clicks "Pay" in
   PaymentRequest.

If merchant provides MULTIPLE SHIPPING OPTIONS in first request:
 - Merchant supports shipping worldwide at different costs.
   PaymentRequest requires the user to make an address selection to send
   to the merchant.

BUG= 607672 

Review-Url: https://codereview.chromium.org/1927143003
Cr-Commit-Position: refs/heads/master@{#390512}

[modify] https://crrev.com/6862d5f1cc6a54b2aac91da08acf842efd5778a0/chrome/android/java/res/layout/payment_request.xml
[modify] https://crrev.com/6862d5f1cc6a54b2aac91da08acf842efd5778a0/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
[modify] https://crrev.com/6862d5f1cc6a54b2aac91da08acf842efd5778a0/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java
[modify] https://crrev.com/6862d5f1cc6a54b2aac91da08acf842efd5778a0/chrome/android/java/strings/android_chrome_strings.grd

Status: Fixed (was: Started)
Labels: M-53
Components: -UI>Browser>Autofill>Payments UI>Browser>Payments

Sign in to add a comment