Jump to content
thirty bees forum

Recommended Posts

Posted

I have a problem receiving orders.

I made a test order with payment by bankwire. When I click to confirm my order the page keeps hanging (you keep seeing the busy pointer) and finally times out.

When I open my browser console I see many times "Third party cookie will be blocked. Learn more in the issues tab.". Unfortunately the issues tab isn't very informative (see below).

I am running a version of TB 1.4.

Customers complain that they place an order and get a confirmation of the payment but not of the order itself. Strangely enough they mention the id_cart number as order number.

This started happening after the move to another server (both PHP 8.1). Most orders do not become visible in the orders list in the back office.

What is happening here? I would be happy to disable third party cookies, but I don't know which modules place them.

quirk.thumb.jpg.9e170ec380cc6161fb4f3e83e764a8e5.jpg

 

Posted
14 hours ago, the.rampage.rado said:

You moved servers - look into that. Configuration of the new server, especially https settings on it as it says that the connection is not secure.

Also those messages in the console are coming from Chrome, not your site. They will ban all third-party cookies soon (https://developers.google.com/privacy-sandbox/3pcd) and your checkout does not care for tracking, etc cookies at this point.

I have another - much smaller - shop running on the same account and it doesn't give problems. 

Most of the account is fast but some other pages are slow too. I booked some improvement in speed by truncating the ps_log table. But the total block in the validateOrder() function puzzles me.

 

Posted

The screenshot you shared has only ever happened to me when my SSL certificate expired on the URL. Perhaps verify on your host that yours is still good for that domain?

Posted

Solved.

It was the GMnumeric module. That is a module that takes care that the reference number is the same as the order number.

The problem was in the function validateOrder() in /classes/module/PaymentModule.php. The following code had become an eternal loop:

 do {
                $reference = Order::generateReference();
            } while (Order::getByReference($reference)->count());

GMnumeric overrides generateReference(). Now it always returned the number of the last order. 

I don't know why this happened on one server but not on the other.

 

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...