Open Bug 1953738 Opened 10 months ago Updated 2 days ago

Credit card not filled in leicesterhospitalscharity.org.uk donation form (using stripe with an iframe for each field)

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

People

(Reporter: Gijs, Assigned: dimi)

References

Details

Attachments

(1 file)

STR:

  1. have at least one payment card saved
  2. go to https://leicesterhospitalscharity.org.uk/
  3. on the big form on the homepage pick any amount and click "donate now"
  4. scroll down to the "Donate with Donate via Credit or Debit Card" section
  5. click in the "card number" field

ER:
autofill dropdown

AR:
no autofill dropdown

This is using Stripe and using a frame (from https://js.stripe.com/) for each field. The input field inside the form looks like:

<input class="InputElement is-empty Input Input--empty" autocomplete="cc-number" autocorrect="off" spellcheck="false" type="text" name="cardnumber" data-elements-stable-field-name="cardNumber" aria-required="true" inputmode="numeric" aria-label="Credit or debit card number" placeholder="Card Number" aria-invalid="false" tabindex="0" value="">

and the form:

<form class="ElementsApp is-empty" style="" dir="ltr"></form>

This also affects https://bacacharity.org.uk/?form=donate

Steps there:

  1. have at least one payment card saved
  2. go to https://bacacharity.org.uk/?form=donate
  3. on the form on the homepage pick any amount and click "Donate"
  4. Click "keep my one-off gift" if prompted
  5. Enter a first name and last name of at least two letters, and a valid email address
  6. tick "donate anonymously" and "read our privacy policy"
  7. click "No thanks" for gift aid
  8. click in the card field with the "1234..." placeholder or the expiration field

They seem to be using a really big iframe for most of the page and then separate iframes again for the stripe elements.

The severity field is not set for this bug.
:dimi, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dlee)

gihs, thank you for filing the issue!
The website uses nested <iframe>, which we currently don't support. The reason we don't support nested <iframe> is that when we initially implemented <iframe> support, we didn't encounter any examples requiring it, so we chose to keep the solution simple.
I will work on this issue.

Assignee: nobody → dlee
Severity: -- → S3
Depends on: 1815399
Flags: needinfo?(dlee)
Priority: -- → P3
Depends on: 1966600
No longer depends on: 1815399
Attached video 2026-01-16_14h32_43.mp4

Just verified the issues in the latest Nightly 149.0a1(build id:20260116093521 ) after bug 1966600 fix, but both issues(from the description and comment 1), are still reproducible in the same way they are described above.

Has STR: --- → yes
QA Whiteboard: [qa-investig-done-c149/b148]
QA Contact: ailea
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: