Post by ronsibonsi » Mon Nov 04, 2024 7:57 am

Hi.
Did an upgrade to 3.0.4 to be able to run PHP 8.3.
Everything is working ok but there is a little issue on some customers. With items in the cart and going to the checkout page, and the customer is logged in, the customer runs pass the pre filled Billing and Shipping fields. Chooses a Shipping Methode and up to now everything look normal. But when getting into the Payment Methods it show no payment options available.

Only after hitting F5 and reselect the prefilled payment address it finaly shows payment options...??!?
What can cause such a problem and how to fix it :-)

Ofcourse cleared every cache option and cookie ;-)

Ron.

Newbie

Posts

Joined
Tue Feb 02, 2016 6:26 am

Post by ADD Creative » Mon Nov 04, 2024 5:20 pm

It would be helpful to post the theme and any payment extensions you are using. Also any extension that modifies the checkout.

Check both your OpenCart and PHP error logs for any related errors.

You could also test with the default theme and a simple payment extension such as bank transfer.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by MajorPain » Tue Nov 05, 2024 3:13 am

I also found this happening just today. Interested to see what is found out.
If I keep redoing the options for address, shipping, it mostly shows no payment options available but very randomly if shows the options. Not working more than it does.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by MajorPain » Tue Nov 05, 2024 4:05 am

ronsibonsi wrote:
Mon Nov 04, 2024 7:57 am
Hi.
Did an upgrade to 3.0.4 to be able to run PHP 8.3.
Everything is working ok but there is a little issue on some customers. With items in the cart and going to the checkout page, and the customer is logged in, the customer runs pass the pre filled Billing and Shipping fields. Chooses a Shipping Methode and up to now everything look normal. But when getting into the Payment Methods it show no payment options available.

Only after hitting F5 and reselect the prefilled payment address it finaly shows payment options...??!?
What can cause such a problem and how to fix it :-)

Ofcourse cleared every cache option and cookie ;-)

Ron.
Are you using Square as a payment method? Square servers had an issue today and have just been resolved. All my payment options have returned. If one extension failing was the cause of everything not working, is that a Square issue or an Opencart issue? Not sure if it's the real cause but my site has seemed to resolve itself as soon as the server issues were resolve. Just an odd coincidence. Kind of why I am wondering if you use Square.

Active Member

Posts

Joined
Mon Jul 09, 2018 9:05 am

Post by paulfeakins » Tue Nov 05, 2024 10:35 pm

ronsibonsi wrote:
Mon Nov 04, 2024 7:57 am
when getting into the Payment Methods it show no payment options available.
And what Payment Methods have you got enabled?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ronsibonsi » Wed Nov 06, 2024 7:11 am

MajorPain wrote:
Tue Nov 05, 2024 4:05 am
ronsibonsi wrote:
Mon Nov 04, 2024 7:57 am
Hi.
Did an upgrade to 3.0.4 to be able to run PHP 8.3.
Everything is working ok but there is a little issue on some customers. With items in the cart and going to the checkout page, and the customer is logged in, the customer runs pass the pre filled Billing and Shipping fields. Chooses a Shipping Methode and up to now everything look normal. But when getting into the Payment Methods it show no payment options available.

Only after hitting F5 and reselect the prefilled payment address it finaly shows payment options...??!?
What can cause such a problem and how to fix it :-)

Ofcourse cleared every cache option and cookie ;-)

Ron.
Are you using Square as a payment method? Square servers had an issue today and have just been resolved. All my payment options have returned. If one extension failing was the cause of everything not working, is that a Square issue or an Opencart issue? Not sure if it's the real cause but my site has seemed to resolve itself as soon as the server issues were resolve. Just an odd coincidence. Kind of why I am wondering if you use Square.
Hi .
No Square as a payment.

Ron

Newbie

Posts

Joined
Tue Feb 02, 2016 6:26 am

Post by ronsibonsi » Wed Nov 06, 2024 7:14 am

paulfeakins wrote:
Tue Nov 05, 2024 10:35 pm
ronsibonsi wrote:
Mon Nov 04, 2024 7:57 am
when getting into the Payment Methods it show no payment options available.
And what Payment Methods have you got enabled?
Hi.

Even the most basic payment methods like bank transfer are not shown.
The weird part is that on non-chromium browser like Safari there is no issue??!?

Ron

Newbie

Posts

Joined
Tue Feb 02, 2016 6:26 am

Post by ronsibonsi » Wed Nov 06, 2024 7:26 am

ADD Creative wrote:
Mon Nov 04, 2024 5:20 pm
It would be helpful to post the theme and any payment extensions you are using. Also any extension that modifies the checkout.

Check both your OpenCart and PHP error logs for any related errors.

You could also test with the default theme and a simple payment extension such as bank transfer.
Hi.

The default pages are used for checking out. The scary thing is that there are no php or OC logs that lead to this problem. It seems that the pre-filled billing address is not 'saved' when you go to the next step.

If no payment methods are shown, it helps to reselect the billing address once.

Ron

Newbie

Posts

Joined
Tue Feb 02, 2016 6:26 am

Post by ADD Creative » Wed Nov 06, 2024 8:25 am

Check your web browser's developer tool to see if there are any error messages or if a request is being blocked.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Thu Nov 07, 2024 12:10 am

ronsibonsi wrote:
Wed Nov 06, 2024 7:14 am
The weird part is that on non-chromium browser like Safari there is no issue??!?
Perhaps some weird caching is going on, perhaps ask your web host.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by khnaz35 » Thu Nov 07, 2024 9:00 pm

It seems there’s an underlying issue with both the Free Checkout and Cash on Delivery methods. I tested it myself on a fresh installation, and even after uninstalling and reinstalling Free Checkout, it still doesn’t work. However, when I installed and configured the Bank Transfer method, it does appear correctly at checkout.

Ps. Haven't tried to debug yet but at the first glance it does seems something is off.

Attachments

Issue-payment-extension.png

issue-payment-extension - Issue-payment-extension.png (159.27 KiB) Viewed 2020 times


Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by JNeuhoff » Thu Nov 07, 2024 9:37 pm

@ronsibonsi: I am unable to reproduce this issue on a fresh install of OpenCart 3.0.4.0, just tested it using the Chrome browser. It would really help if you could provide some more details, e.g.: How exactly did you upgrade, from what old version? What's the website URL? What are your extensions?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Fri Nov 08, 2024 7:02 pm

JNeuhoff wrote:
Thu Nov 07, 2024 9:37 pm
@ronsibonsi: I am unable to reproduce this issue on a fresh install of OpenCart 3.0.4.0
We've used 3.0.4.0 on a few sites and have never experienced this one.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by khnaz35 » Fri Nov 08, 2024 11:21 pm

JNeuhoff wrote:
Thu Nov 07, 2024 9:37 pm
I am unable to reproduce this issue on a fresh install of OpenCart 3.0.4.0
Did you use the code from the Github release package or use the git branch to test ?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by Johnathan » Sat Nov 09, 2024 12:20 am

Free Checkout requires the total be 0.00, so if the total was 0.01 or more then it won't show up.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 16 guests