You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
Describe the bug
When placing an order on Prestashop with Postfinance Checkout, the display of the page is not coherent, there are two buttons labelled I confirm my order, that do not have the same effect.
Additionally neither of both button confirms the order.
To Reproduce
On a default installation (see below for instructions for set up)
Steps to reproduce the behavior:
Open the shop with Chrome
Add a product to the cart
Place the order, on step 5. Paiement, choose Carte Postfinance
Notice the strange display with the two buttons
Hit F12 to open Chrome Dev Console
Click on the first button
Note the error in the Dev console
checkout.js:90 Uncaught TypeError: Cannot read properties of undefined (reading 'processing')
at HTMLButtonElement.handler_submit (checkout.js:90:22)
at HTMLButtonElement.dispatch (jquery-1.11.0.min.js:3:8066)
at HTMLButtonElement.r.handle (jquery-1.11.0.min.js:3:4767)
Click on the second button
An empty page displays, with an error in Dev console
Expected behavior
We should be able to place an order.
Screenshots
There are two buttons I confirm my order
Install Prestashop the standard way, choose Switzerland as a country
In the BO, got to Transport - Carriers and activate the zone Europe non-EUfor shipping (This is necessary to be able to place orders from Switzerland, we installed Switzerland).
Install the latest version of Postfinance Checkout (currently 1.2.17)
The text was updated successfully, but these errors were encountered:
Describe the bug
When placing an order on Prestashop with Postfinance Checkout, the display of the page is not coherent, there are two buttons labelled
I confirm my order
, that do not have the same effect.Additionally neither of both button confirms the order.
To Reproduce
On a default installation (see below for instructions for set up)
Steps to reproduce the behavior:
Open the shop with Chrome
Add a product to the cart
Place the order, on step
5. Paiement
, chooseCarte Postfinance
Notice the strange display with the two buttons
Hit
F12
to open Chrome Dev ConsoleClick on the first button
Note the error in the Dev console
Click on the second button
An empty page displays, with an error in Dev console
Expected behavior
We should be able to place an order.
Screenshots
There are two buttons
I confirm my order
Software versions:
Additional Info
About the Javascript error: the offending lines in file
views/js/frontend/checkout.js
are:Obviously
var self = event.data.self;
should precedeif(!self.processing) {
Set up a clean installation
If you do not have a test environment to reproduce this issue, this is how to set up a default installation:
Transport - Carriers
and activate the zoneEurope non-EU
for shipping (This is necessary to be able to place orders from Switzerland, we installedSwitzerland
).The text was updated successfully, but these errors were encountered: