Post by thbr02 » Mon Aug 05, 2019 4:49 pm

Could someone give some advise where to start to (and how to) debug a real slow checkout at opencart 3? The issue appears at the last step when you confirm your order. It looks like the order email is sent quite fast and I can see the order is created at the admin, but still the spinning wheel at checkout is shown for 1-2 minutes before you reach the success page. I use Journal3 theme, but the issue appears even with the default theme. I'm quite unexperienced at debugging PHP.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by letxobnav » Mon Aug 05, 2019 5:47 pm

It looks like the order email is sent quite fast
how did you get to that conclusion?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by thbr02 » Mon Aug 05, 2019 6:43 pm

I did an order myself.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by letxobnav » Mon Aug 05, 2019 7:50 pm

so you are still seeing the spinning wheel after you received the email.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by thbr02 » Mon Aug 05, 2019 7:52 pm

Yes, I am. And it can be spinning for several minutes...

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by letxobnav » Mon Aug 05, 2019 8:12 pm

extensions installed?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Tue Aug 06, 2019 6:43 pm

thbr02 wrote:
Mon Aug 05, 2019 4:49 pm
Could someone give some advise where to start to (and how to) debug a real slow checkout at opencart 3? The issue appears at the last step when you confirm your order. It looks like the order email is sent quite fast and I can see the order is created at the admin, but still the spinning wheel at checkout is shown for 1-2 minutes before you reach the success page. I use Journal3 theme, but the issue appears even with the default theme. I'm quite unexperienced at debugging PHP.
The OpenCart 3.0 General Support Forum is a great place to get free help and support with your OpenCart issues. Experienced OpenCart developers like myself and many others will usually scan the forum topics daily to see if there are any issues we can help with. Unfortunately we're often not given enough information to be able to help.

So here are some guidelines you should follow when asking experienced professional OpenCart developers to give you their time for free:

1. Provide Your OpenCart Version
This is found in the admin area of OpenCart at the bottom and will be 4 digits like 3.2.0.2. Saying "OpenCart 3" is not helpful because developers will often know off the top of their heads if any bugs affected only a specific version and are likely to know how various parts of OpenCart are build in each version.

2. Provide Your Store URL
Especially if your problem is visible on the front-end or is CSS related, a link to the page on which the problem happens could allow us to give you a quick easy fix.

3. Provide the Name of the Theme You Use with a Link if Possible
Many front-end issues are caused by themes and sometimes even back-end issues are caused by themes that have a lot of customisation in the back-end (admin area) such as Journal. If a lesser-known theme, please provide a link to the page where you bought it.

4. Provide a List of the Extensions You Have Installed
Extensions can often cause issues so please provide a list of all OCMODs and vQmods that you have installed. If the problem goes away when disabling all extensions you can be sure it's an extension issue so re-enabling them one-by-one is a good way to find the culprit. If it's a paid extension, contacting the extension developer is usually the first step.

5. Provide Detail of Any Custom Modifications to Your Store
If a developer has worked on your store and made some modifications to the core files, 1. they are probably not a great developer because you shouldn't ever modify core files (without a very good reason) and 2. you should list what these modifications do as they may be the cause of your issue.

6. Provide Very Detailed Steps to Reproduce the Issue
Describe exactly what you were doing when the issue occurred - what page were you on? What button did you press or what action caused the error to show? Providing a screenshot or short video is often incredibly helpful. How much detail should you go in to? Enough that someone who knows nothing about your issue could easily understand and take those steps themselves to get the error to happen for them.

And that's it - provide the info above, be as clear and specific as possible, and the community will try their best to help you and give freely of their time, knowledge and experience.

If it turns out the issue really isn't suitable to be diagnosed on the forum, and that is sometimes the case because a developer needs to have a look themselves and try a few things, you can always post a Commercial Support request and pay a developer to fix, or you can always contact ourselves: info@antropy.co.uk

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 sergius79 » Sun Oct 04, 2020 3:45 am

thbr02 wrote:
Mon Aug 05, 2019 4:49 pm
Could someone give some advise where to start to (and how to) debug a real slow checkout at opencart 3? The issue appears at the last step when you confirm your order. It looks like the order email is sent quite fast and I can see the order is created at the admin, but still the spinning wheel at checkout is shown for 1-2 minutes before you reach the success page. I use Journal3 theme, but the issue appears even with the default theme. I'm quite unexperienced at debugging PHP.
Hi! Did you find a solution how to speed it up last step after order confirmation? I have the same issue.

Newbie

Posts

Joined
Thu Nov 24, 2016 6:01 am

Post by sw!tch » Sun Oct 04, 2020 4:17 am

You could try temporarily disabling the mail events in the backend and running through the checkout. See if it's related to mail.

Mail - will always have some overhead. As far as I know the only around that would be to offload those resources to run later, such as in a queued cronJob, queued event, etc.

If your problem is related to mail - 1-2minutes is a ridiculous wait for a couple of mail requests, maybe try a different mail provider or work with your host to resolve that.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by letxobnav » Sun Oct 04, 2020 9:08 am


Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: No registered users and 3 guests