Version: ToT
OS: Android
What steps will reproduce the problem?
(1) Run Android debug build locally
(2) Launch PaymentRequest from https://rsolomakhin.github.io/paymentrequest/digital/.
(3) Select a local card.
(4) Tap pay.
What is the expected output?
I should see a CVC prompt.
What do you see instead?
DCHECK in CVC prompt code, because it assumes server cards only.
[FATAL:credit_card.cc(264)] Check failed: LOCAL_CARD != record_type()
This is called in CardUnmaskPromptControllerImpl::ShouldRequestExpirationDate().
Please use labels and text to provide additional information.
The correct solution is to change CreditCard::GetServerStatus() into CreditCard::ShouldRequestExpirationDate(), which should return false for local cards. Once we have functionality to update expiration date of local cards through personal_data_manager.h, we can change this logic.
Comment 1 by bugdroid1@chromium.org
, Apr 28 2016