Checkout Page Loads Twice with Delayed Payment Confirmation in Custom Theme
Hi,
I'm experiencing a strange issue on my OpenCart 3.0.3.8 store with a custom theme. When a customer goes to the checkout page, it seems to load twice — almost like it's refreshing automatically. This causes a slight delay (about 3–5 seconds) before the payment buttons (PayPal & Stripe) appear. Sometimes, users report that after completing the payment, the confirmation email doesn't come instantly or shows up twice.
I haven't installed any recent extensions, but I do use a custom checkout layout with Ajax features. Could it be a conflict with my theme's JS or some OpenCart event firing twice?
Any suggestions or diagnostic steps to narrow this down?
Thanks!
Regards: KI und Automatisierung im Marketing
-
Fix the issue where the checkout page loads twice and delays payment confirmation in a custom theme. Optimize performance and user experience. Related tools like Dreisatz Rechner can help streamline calculation logic in your setup.
0 -
This sounds like a JavaScript or AJAX conflict, especially with a custom checkout layout. The double-load behavior and delay in rendering payment buttons often indicate that scripts are being triggered more than once, either due to duplicated event listeners or a race condition.
Here are a few things you can try to narrow it down:
- Check Browser Console – Load the checkout page and open the developer console (F12 > Console tab). Look for any JS errors or multiple calls to the same function (like rendering PayPal buttons).
- Network Tab Analysis – In the browser’s DevTools > Network tab, watch if any AJAX calls are firing twice on page load. That could help you isolate the script or extension causing it.
- Disable AJAX Features Temporarily – If possible, test with a default checkout layout to see if the issue persists. That'll help you confirm whether the custom AJAX setup is the root cause.
-
Look for Duplicated Scripts – Sometimes, a theme or module loads the same JS file multiple times. Check your
catalog/view/theme/.../template/checkout
layout and header/footer includes. - Email Issue – The delayed or duplicate confirmation emails might also be tied to order status update events firing more than once. Check your order history logs and modification files to see if any custom logic is triggering emails.
If you’re using vQmod or OCMOD for the checkout or payment modules, reviewing those logs could also offer clues.
0 -
Locksmith in Bradford I'm experiencing a strange issue on my OpenCart 3.0.3.8 store with a custom theme. When a customer goes to the checkout page, it seems to load twice — almost like it's refreshing automatically. This causes a slight delay (about 3–5 seconds) before the payment buttons (PayPal & Stripe) appear. Sometimes, users report that after completing the payment, the confirmation email doesn't come instantly or shows up twice.
0
Please sign in to leave a comment.
Comments
3 comments