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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [BUG] - Unable to place order with official stripe module on mobile devices #408

Open
stigmi-man opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stigmi-man
Copy link

Description

With the official Stripe module and the following configuration:
image

When placing an order on a mobile device, the page refreshes, and we cannot proceed to the next step.

The issue arises because there are two buttons in the templates\checkout\_partials\steps\payment.tpl file:
image
The Stripe JavaScript code adds an event listener to the first button only, causing the second button to malfunction on mobile devices.

Would it not be cleaner and more efficient to keep only a single button in the payment template? This approach would ensure consistent behavior across all devices and eliminate the issue caused by the presence of multiple buttons.

Node.js version

v14.1.0

php version

v7.4

OS and it's version

Windows

Browsers

Chrome

Required module/theme

theme

Reproduction steps

0. Install and configure the Stripe Official module v3.2.2
   -> Select "Integrated payment form"
      Payment Form Layout : "Accordion without radio buttons"
      Payment Form Position : "With the Prestashop payment methods" 
      Select a theme for the integrated payment form : "Stripe"

On Mobile :
1. Add a product to the cart
2. Process checkout
3. Use a strip payment
4. Click on the "Place order" Button

Logs

No response

@stigmi-man stigmi-man added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant