Open Bug 1786964 Opened 2 years ago Updated 2 years ago

Updating credit card expiry does not changed the saved entry

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

People

(Reporter: vchin, Unassigned)

References

(Blocks 1 open bug)

Details

STR:

  1. Go to https://register.skatescbc.ca/registration/
  2. Register for a program and proceed to checkout
  3. Use the credit card autofill feature
  4. Update the credit card expiry date
  5. Click update saved data

Expected: The saved credit card should have the new expiry date
Actual: The saved credit card still has the previous expiry date

The credit card form layout the website uses looks like the following:

<form id="form1">
  <input id="cc-number-visible">
  <input id="cc-exp" type="hidden">
</form>

<form id="form2">
  <input id="cc-number", type="hidden">
  <input id="cc-exp">
</form>

So when users click the cc-number-visible field and autofills their credit card information, we only autofill the <input> in form1.
The reason that users can still see the expiry is because when we autofill expiry in the hidden field, the website knows we fill it so it updates
the "cc-exp" in form2 accordingly. However, if users update the expiry date manually, the website doesn't fill the updated value to the hidden expiry value in form1. That's why our doorhanger still captures the old expiry value.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.