Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-elements-stable-field-name is missing #18

Open
sbolinger-godaddy opened this issue Jan 5, 2023 · 2 comments
Open

data-elements-stable-field-name is missing #18

sbolinger-godaddy opened this issue Jan 5, 2023 · 2 comments

Comments

@sbolinger-godaddy
Copy link

Hi, thanks for this plugin. In my testing the data-elements-stable-field-name attribute does not exist with the Stripe Payment Element, so the plugin does not fill anything.

Screen Shot 2023-01-05 at 9 02 35 AM

@davidkiama
Copy link

Hi, thanks for this plugin. In my testing the data-elements-stable-field-name attribute does not exist with the Stripe Payment Element, so the plugin does not fill anything.

Screen Shot 2023-01-05 at 9 02 35 AM

Were you able to resolve this? Been having a similar issue with the plugin

@madmacc
Copy link

madmacc commented Mar 29, 2023

You guys could try this

Looks like Stripe has changed the form and the data-elements-stable-field-name attribute is no longer present. If you modify to look for id instead it works. const getSelectorForField = (name) => 'input[id="' + name + '"]'

https://stackoverflow.com/a/70024952/10222449

I get the error cy.fillElementsInput is not a function before I even get to that stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants