It is not possible to validate Prestashop purchases

Your software
My Mautic version is: v4.4.11
My PHP version is: 8.1.27
My Database type and version is: 10.5.8-MariaDB

Your problem
My problem is: Mautic cannot validate when a purchase is made in Prestashop 8

These errors are showing in the log: There are no errors in the logs

Steps I have tried to fix the problem:

Create a test campaign for abandoned carts

Order Confirmation conf
Captura de pantalla 2024-06-14 162440

Order Confirmation Prestashop URL
https://mysite.com/confirmacion-pedido?key=6b50e942bf2498c26231&id_cart=26094&id_module=72&id_order=7777

I have the problem when I need to validate the order confirmation:

  • If the customer makes the purchase, he leaves the segment.
  • If the customer DOES NOT make the purchase, an email is sent.

For tracking purposes, I inserted the code provided by Mautic on the order confirmation page in Prestashop.

Validate in Chrome that the script will run (200).

Then I add the contact to the segment, I make a purchase and I wait for the campaign to make its validations, the problem is that the order confirmation always assumes that the contact did not make the purchase, so it is not validating correctly.