Open Bug 1925238 Opened 1 year ago Updated 22 days ago

Credit card expiry not filled correctly when adding card during paypal checkout

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

ASSIGNED

People

(Reporter: Gijs, Assigned: dimi)

References

Details

(Whiteboard: [fxcm-autofill-improvements-2025q1])

STR:

  1. save CC information, in my case with expiry of e.g. 01/2027
  2. go to e.g. ebay or any other merchant that offers paypal as a payment option
  3. buy something, check out by using paypal
  4. in the paypal checkout flow, when asked to pick a payment method, click "Add debit or credit card"
  5. in the 16 digit card field autofill, select the saved card from (0)

ER:
fields fill correctly

AR:
the expiry field fills as "01/20" and paypal complains that this is in the past (interpreted as 2020).

The entire markup of the expiry field is:

<div class="AddCardForm_halfSizedInputStyle_HyPiI AddCardForm_expireDateInput_2ewgO xo-member-12xeah7-text_input_base-text_body" data-ppui-info="text-input_5.5.4"><input class="xo-member-oeljz7-text_input_control-text_body-label_placeholder_shown_and_not_focused-text_body-error_text_input_control" name="Expiry date" id="cardExpiry" aria-invalid="true" placeholder=" " data-ppui-info="masked-text-input_2.1.2" data-testid="split-card-expiry" required="" type="text" autocomplete="cc-exp" data-ppui="true" value="01/20" aria-describedby="message_cardExpiry"><label for="cardExpiry" id="cardExpiry-label" class="xo-member-cc5t71-label-text_field_label_sm" data-ppui="true">Expiry date</label><div id="message_cardExpiry" role="alert" data-ppui="true" class="xo-member-1dr11dg-error_text-text_caption"><span class="xo-member-1cbx1fj-svg-size_sm-error_icon" data-ppui-info="icons_8.23.1" role="img" aria-label="Error" data-ppui="true"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" width="1em" height="1em" data-ppui="true"><path fill-rule="evenodd" d="M11.105 3.554a1 1 0 0 1 1.79 0l7.498 14.998a1 1 0 0 1-.895 1.447H4.502a1 1 0 0 1-.895-1.447l7.498-14.998zm.384 10.96h1.02c.168 0 .276-.096.288-.264.018-.428.042-.85.067-1.28.055-.98.113-2.002.113-3.244v-.948c0-.18-.096-.276-.276-.276h-1.404c-.18 0-.277.096-.277.276v.948c0 1.242.058 2.264.114 3.243.024.43.048.853.066 1.281.013.168.12.264.289.264zm.51 3.486A1 1 0 1 0 12 16a1 1 0 0 0 0 2z" clip-rule="evenodd" data-ppui="true"></path></svg></span>Please enter a valid expiry date</div></div>

Hi Janika, could you help take a look at this issue? thank you!

Flags: needinfo?(jneuberger)
Assignee: nobody → hballent
Flags: needinfo?(jneuberger)
Whiteboard: [fxcm-autofill-improvements-2025q1]
Assignee: hballent → dlee
Severity: -- → S3
Status: NEW → ASSIGNED
Priority: -- → P3

I can't reproduce this issue currently.

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