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

multiple form elements with the same ID #payment-form #367

Open
fuchsbart opened this issue Oct 8, 2024 · 0 comments
Open

multiple form elements with the same ID #payment-form #367

fuchsbart opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels

Comments

@fuchsbart
Copy link

Describe the bug and add screenshots

If we enable more than one payment method, there are multiple form elements with the same ID #payment-form:

[DOM] Found 2 elements with non-unique id #payment-form: (More info: https://goo.gl/9p2vKq) <form id=​"payment-form" method=​"POST" action=​"javascript:​alert('Should%20use%20the%20PayPal%20wallet%20button%20')​;​">​…​​ <form id=​"payment-form" method=​"POST" action=​"javascript:​alert('Should%20use%20the%20SEPS%20payment%20button')​;​">​…​​

Can you please fix that?

Expected behavior

No response

Steps to reproduce

Enable a second payment method and look into the browser console

PrestaShop version(s) where the bug happened

8.2

PHP version(s) where the bug happened

8.1

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

No branches or pull requests

4 participants