Closed Bug 1645741 Opened 4 years ago Closed 4 years ago

[Apple.com] Expiration month is not autofilled correctly on the checkout form

Categories

(Toolkit :: Form Autofill, defect, P2)

Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1645735
Tracking Status
firefox77 --- disabled
firefox78 --- disabled
firefox79 --- disabled

People

(Reporter: tbabos, Unassigned)

References

(Blocks 2 open bugs, )

Details

Affected version:
All - if CC specific prefs are enabled

Tested on:
Windows 10
MacOS 10.13
Ubuntu 16.04

Steps to reproduce:

  1. Reach the payment form on apple.com
  2. Check the dropdown for the Exp. date and select the saved entry

Expected results:

  1. Expiration date should be correctly displayed in the dropdown and autofilled in the field.

Actual results:

  1. Only the expiration year is correctly displayed and autofilled. The month is cut off and not autofilled. (in the recording you can see it will split 2026 to 20/26 instead of taking 08 from the saved CC card info)

Notes:
Exp Date field:
<input aria-required="true" aria-labelledby="checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration-label " aria-describedby="checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration-error" aria-invalid="true" data-autom="expiration-input" value="" data-recon-click="binding,actionClick,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-mouseover="binding,actionMouseOver,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-mouseout="binding,actionMouseOut,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-input="binding,setValue,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-change="binding,setValue,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-focusin="binding,setFocus,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" data-recon-focusout="binding,clearFocus,checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration,binding" type="tel" id="checkout.billing.billingOptions.selectedBillingOptions.creditCard.cardInputs.cardInput-0.expiration" name="expiration" class="form-textbox-input" required="" maxlength="5">

Found Bug 1452605 which looks similar to this, but I am not sure if its the same root cause. This can be duplicated if it is.

Whiteboard: [cc-autofill-mvp]

Updating whiteboard tag for team triage.

Whiteboard: [cc-autofill-mvp] → [ccautofill]
Priority: -- → P2
Whiteboard: [ccautofill] → [cc-autofill-mvp]
Depends on: 1647944

Can you attach the recording?

Flags: needinfo?(tbabos)
Severity: -- → S3

This is another issue with truncation of expiration date. The proof of concept patch on Bug 1645735 (Staples) fixes the Apple site as well. As any fix for one site will fix the other, I'm duping this bug to that one.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Whiteboard: [cc-autofill-mvp]

Sorry, forgot to attach the recording last time. This issue should be already handled by Bug 1645735 but unfortunately I am hitting into Bug 1653915 right now. Please check that issue for more info.

Flags: needinfo?(timea.babos)

FYI: Autofill now works correctly on the latest Nightly 81.0a1 (2020-08-12) (64-bit) and this issue of the expiration date is also no longer reproducible.

You need to log in before you can comment on or make changes to this bug.