Re: One-Page Checkout [Support Thread]
I am just posting the current working solution for the error: "Your order's details have changed. Please review the current values and re-submit."
In my case, it only happened when a customer selected the moneyorder payment type and immediately trying to submit your order. Because the moneyorder payment type didn't refresh the page, and because no further information was changed, the checkout form was throwing that error for some reason.
So to to fix this, under the OPC Configuration menu, I added the 'moneyorder' option to the "Payment Methods Requiring Confirmation". So now it looks like this: eway_rapid,stripepay,gps,moneyorder
Now when a customer chooses the moneyorder payment option, it will take them to a new page to confirm their order, and this eliminates that message from popping up.
1 Attachment(s)
Re: One-Page Checkout [Support Thread]
I am using The One-Page Checkout version number and release date: 1.0.5-beta1 (2016-09-xx)
on my 1.54 site on Responsive Sheffield Blue WWW.GELCANDLECOMPANY.COM. I've been having some customers tell me that they are unable to follow through the checkout and get a blank screen right after they enter c/c info info.
I tried placing an order on my desktop pc and noticed the CONFIRM button was displayed way on the far right which has been unable for some to see.
(see pic)Attachment 20230
When some customers inform me of the trouble I inform that the button is at the far top right and they checkout successfully.
Is there any advice on how I can make the CONFIRM button appear in the center of the page making it more visible for desktop?
Mobile phones appear just fine.
Thanks for your input.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
spawnie69
I am using The One-Page Checkout version number and release date: 1.0.5-beta1 (2016-09-xx)
on my 1.54 site on Responsive Sheffield Blue
WWW.GELCANDLECOMPANY.COM. I've been having some customers tell me that they are unable to follow through the checkout and get a blank screen right after they enter c/c info info.
I tried placing an order on my desktop pc and noticed the CONFIRM button was displayed way on the far right which has been unable for some to see.
(see pic)
Attachment 20230
When some customers inform me of the trouble I inform that the button is at the far top right and they checkout successfully.
Is there any advice on how I can make the CONFIRM button appear in the center of the page making it more visible for desktop?
Mobile phones appear just fine.
Thanks for your input.
My apologies, but you're asking for help on an OPC version released 6 1/2 years ago (the current version's 2.4.5) and a version of Zen cart that was released 8+ years ago (2014-12-31).
The only help that I can provide (and I realize that it's not exactly hep) is that you need to upgrade your site so that you can make use of current versions of PHP (8.2 is the current as of this writing) as well as the current versions of Zen Cart (currently 1.5.8) and OPC.
The web's infrastructure regarding cookies and other security elements of a website have changed immensely over the past 6-8 years and I'll bet that those underlying changes and requirements are part of your issue.
Re: One-Page Checkout [Support Thread]
i agree completely with what lat9 said.
that said, i looked at a bit at your site. i think very little about the author of your template...
but you have a very basic problem as demonstrated from this screenshot.
i'm guessing this problem carries over to OPC, and would need addressing. that is where i would start.
if this problem does not carry over to OPC (i decided to not create an account), i would then pursue all of the updates previously recommended.
the errors i am seeing are visible when accessing the developer tools in your browser.
best.
1 Attachment(s)
Re: One-Page Checkout [Support Thread]
Hi,
I am having a couple issues with One-Page Checkout than I can't seem to resolve. Any help would be appreciated.
I just did a fresh install of zencart 158a with a database upgrade from 155f (all previous addons removed), One Page Checkout version 2.4.5, using xampp(php) 8.2. I'm using freeshipping, item, and storepickup. With the shipping estimator turned off.
Issue 1) While using guest checkout, I can't seem to delete the last remaining item in the shopping cart.
Issue 2) I'm getting the message "Either the available shipping options or your chosen shipping method's price has changed. Please re-select/review your
desired shipping method." sometimes when going from the shopping_cart.html to the checkout_one page. I don't see a reason why it happens
sometimes but not others.
Issue 3) the continue shopping button takes me to the checkout_one.html page (I would assume it should take me to the main index.php page)
OnepageCheckout log:
Attachment 20233
Re: One-Page Checkout [Support Thread]
One question first, if the "Continue Shopping" button takes you to the checkout_one.html page, what configuration setting are you using to accomplish that?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
One question first, if the "Continue Shopping" button takes you to the checkout_one.html page, what configuration setting are you using to accomplish that?
The "Continue Shopping" button seems to take you back to whatever page you were on before you arrived in the shopping cart.
When I'm on the homepage I go to "checkout"-->"shopping cart"-->"continue shopping" then it takes me back to checkout (checkout_one).
If I'm on the homepage and go to "shopping cart"-->"checkout"-->"shopping cart"-->"continue shopping" then it takes me to the homepage.
So I guess the code logic makes sense as written since I'm coming from the "checkout" page. It just threw me off since I was trying to continue shopping but it would send me to checkout.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
One question first, if the "Continue Shopping" button takes you to the checkout_one.html page, what configuration setting are you using to accomplish that?
The "Continue Shopping" button seems to take you back to whatever page you were on before you arrived in the shopping cart.
When I'm on the homepage I go to "checkout"-->"shopping cart"-->"continue shopping" then it takes me back to checkout (checkout_one).
If I'm on the homepage and go to "shopping cart"-->"checkout"-->"shopping cart"-->"continue shopping" then it takes me to the homepage.
So I guess the code logic makes sense as written since in one instance I'm coming directly from the "checkout" page and in the other instance I'm not. It just threw me off since I was trying to continue shopping but it would send me to checkout.
Re: One-Page Checkout [Support Thread]
Not sure about this one
ZC 1.5.8a
OPC 2.4.5
Square WebPay
PHP 8.0.28
Just upgraded from ZC 1.5.8 to Z1.5.8a, checking out as a guest using PayPal EC and I get a blank screen when completing the order.
Code:
[24-Mar-2023 16:08:15 Europe/London] PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
#2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
#3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
#4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173
[24-Mar-2023 16:08:15 Europe/London] Request URI: /ipn_main_handler.php?type=ec&markflow=1&clearSess=1&stage=final, IP address:
--> PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
Stack trace:
#0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
#1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
#2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
#3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
#4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
#5 {main}
thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173.
line #2080 is
Code:
'PAYMENTREQUEST_0_SHIPTOSTATE' => zen_get_zone_code($temp_address['country']['id'], $temp_address['zone_id'], $temp_address['state']),
Re: One-Page Checkout [Support Thread]
I wonder if the above is to do with MySql Strict Mode, although I had no problem with the same database version on ZC v1.5.8
(I am running MySQL 5.5.68-MariaDB, I know, but an upgrade is in my sights - I have to update my VPS from CentOS 7 to Alma 8 which is a bit of a headache)