TODO:
- Add "billing_address" (profile GUID) to the credit cards table.
- If the "CreditCard.billing_address" is null and "WalletMaskedCard.billing_address_id" is not null, then update the "billing_address" during sync.
Autofilling the billing address into a web form is lower priority for now: can be done after M-53. For M-53, we need to let PaymentRequest remember the billing address of a credit card, so that user does not have to select it every time.
hwi@, we are adding billing address to autofill settings on Android. This is separate from PaymentRequest UI, but alters the same data on disk. Can you check whether everything looks OK to you? If not, red lines or bullet points would be good. Thank you!
rouslan@ - would this(screenshot) work?
Note: I still think it's better to hide Billing address field when it's from Google Payments, on Autofill Settings. However, if there's reason to keep it and make it editable, X button next to the spinner with data (not null) might be a way to reset the spinner. The x icon asset is used in Omnibox when it's focused with something typed in.
hwi@: We can think about making billing address un-editable in the future. Currently none of the server credit cards have a billing address. So it's more practical to keep the billing address dropdown editable at all times.
c20: X - I think it's needed to clear the selected billing address. I don't feel strongly. So let's decide when we get onto M54 things.
The attached are mocks to show what's in M53 and what's in M54+, as reference.
Comment 1 by rouslan@chromium.org
, Jun 6 2016