FWIW, noting that the previously-reported issue was in this (https://www.zen-cart.com/showthread....25#post1387125) posting.
I've not yet had a chance to reproduce, hopefully in the next few days.
Printable View
FWIW, noting that the previously-reported issue was in this (https://www.zen-cart.com/showthread....25#post1387125) posting.
I've not yet had a chance to reproduce, hopefully in the next few days.
You can make a template-override version of /includes/templates/template_default/templates/tpl_checkout_one_default.php to re-arrange the various elements of that page and move the coupon/gift-voucher element before the payment information.
Since the credit-card information is sensitive, it's not passed back-and-forth between the data-entry page (checkout_one) and its associated confirmation page (checkout_one_confirmation) and the confirmation page is where the coupon/gv handling determines whether/not the information entered is valid.
This seems slightly better in 2.4.2, however still lags a bit on Square.
The confirmation_one_loading.gif loads and did on the previous install which was 2.4.0, however when the screen greys and then loads the gif there is a bit of a delay. It is the grey overlay screen just before the loading gif loads. It hangs a little, but like I said seems better in 2.4.2. I have had customers say they have got stuck on the greyed out screen just before the loading gif loads. It obviously depends on their internet connection as well. But if it hangs for a while then they are liable to click off it. The ideal solution would be to make it quicker somehow. However another solution would be to apply a message on the grey overlay screen saying 'Please Wait, your payment is processing' before the loading gif loads. Then they are less likely to click off.
Hi @lat9, thanks for your reply. Under this directory, I can only find "tpl_ajax_checkout_confirmation_default.php" but not "tpl_ajax_checkout_confirmation.php". Anyway this file is unchanged.
This duplicated order issue is still rare to happen on my end. I suspected that it might be related to the slow site/plug-in. But anyway I will report if it goes worse. I will add a note asking the customer to click the "submit order" button just once. Maybe it will help.
Thanks again.
Actually you stated you were able to reproduce it in post:
https://www.zen-cart.com/showthread....95#post1387195
And then posted:
https://www.zen-cart.com/showthread....66#post1387566
The issue was addressed on github and I thought fixed unless I misunderstand?
https://github.com/lat9/one_page_checkout/issues/314
Hi @lat9, I gathered some information for the recent duplicated orders after OPC is installed:
Example 1:
Paypaldp
fedexwebservices
Order placed time:
06/23/2022 11:37:35
06/23/2022 11:37:36
06/23/2022 11:37:37
These orders are not marked as guest-checkout
Domestic shipping address
Example 2:
Paypaldp
fedexwebservices
Order placed time:
06/22/2022 19:59:29
06/22/2022 19:59:30
These orders are not marked as guest-checkout
International shipping address
Example 3:
Paypaldp
fedexwebservices
Order placed time:
06/02/2022 17:27:30
06/02/2022 17:27:31
06/02/2022 17:27:31
These orders are marked as guest-checkout
Domestic shipping address
So it looks like the duplicated order only occurs when the customer is paid by credit card (paypaldp) and selected FedEx shipping method (which takes a little bit longer time to load than USPS).
Do you think increasing AJAX timeout time will help? Currently it is set to 5s by default.
Hi @lat9, thanks for your reply.
I just increased this time from 5s to 6s and see how it works.
I downloaded the latest FedEx plug-in from numinix. I'm using v1.8.1 now.
https://www.numinix.com/zen-cart-plu...vices-shipping
I checked my server log and my site updated the latest fedex module on May 18, 2022. I installed the latest OPC back on my site on June 2, 2022. Actually the duplicated order issue is started on June 2, 2022. No issues between May 18 and June 2.
I updated my site to 1.57d on April 18, so my paypaldp module got updated at that time.