New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 694598 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Make phone number optional in PR billing addresses

Project Member Reported by se...@chromium.org, Feb 21 2017

Issue description

With the recent change of converting the Wallet Addresses to local Autofill profiles, one of the most important impact was that the Wallet cards would automatically be associated with the new converted address (before they were linked to nothing). 

The problem is that these addresses usually don't have a phone number, which makes the PR dialog make the user edit that address.

By making the phone number optional, the users will have a billing address ready, will not need to change it and thus this increases the chance of them completing the flow, as proved by our metrics.

This change should not affect shipping addresses. Also if a user decides to edit a billing address, they should still have to enter a phone number.
 

Comment 1 by se...@chromium.org, Feb 22 2017

Here is a video showing the result.

You can see that the billing address has no phone number but that the user can still pay with it. 

However when we look at the shipping section, that address cannot be picked unless a phone is entered. 

WDYT?
BillingNoPhone.mp4
4.6 MB View Download

Comment 2 by se...@chromium.org, Feb 22 2017

Picture might be more clear.

1) See that the user can click pay, even if the billing address has no phone.

2) See that that address can't be picked as a shipping without adding a phone.

3) See that editing the card does not require to change or update the billing address.

3) See that the billing address without phone was sent to the merchant.
Step1.jpg
518 KB View Download
Step2.jpg
539 KB View Download
Step3.jpg
360 KB View Download
Step4.jpg
895 KB View Download
What happens when user taps on billing address dropdown in Step3.jpg?

Comment 4 by se...@chromium.org, Feb 22 2017

The dropdown opens up and you can chose another address or keep that one. Addresses without phones can be selected too, but complete addresses will be suggested first.

Comment 5 by se...@chromium.org, Feb 22 2017

Step3_1.jpg
449 KB View Download
Looks good. Ship it!

Comment 7 by zkoch@chromium.org, Feb 22 2017

LGTM
Project Member

Comment 8 by bugdroid1@chromium.org, Feb 27 2017

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

commit fa14f647f440cd6b669d3d6fab4792d12ec0a034
Author: sebsg <sebsg@chromium.org>
Date: Mon Feb 27 23:24:06 2017

[Payments] Make phone number optional for billing addresses.

Makes the phone number optional for already existing billing
addresses. When editing or adding a new address, the phone
number is still mandatory.

BUG= 694598 

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

[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentApp.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/java_sources.gni
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressTest.java
[add] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressWithoutPhoneTest.java
[modify] https://crrev.com/fa14f647f440cd6b669d3d6fab4792d12ec0a034/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java

Comment 9 by se...@chromium.org, Feb 28 2017

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

Sign in to add a comment