# It is not possible to validate Prestashop purchases

**URL:** <https://forum.mautic.org/t/it-is-not-possible-to-validate-prestashop-purchases/32383>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [June 14, 2024, 8:28pm UTC](https://forum.mautic.org/t/it-is-not-possible-to-validate-prestashop-purchases/32383 "2024-06-14T20:28:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elclay](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/elclay/32/12174_2.png) [@elclay](https://forum.mautic.org/u/elclay)\
**Post date:** [June 14, 2024, 8:28pm UTC](https://forum.mautic.org/t/it-is-not-possible-to-validate-prestashop-purchases/32383/1 "2024-06-14T20:28:38Z")

</div>

**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

 ![Captura de pantalla 2024-06-14 152535](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/85f439d69d14be95ab7e550b0b5506f832ea950c.png)

Order Confirmation conf  
 ![Captura de pantalla 2024-06-14 162440](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2bc4fb7ba23accf9d437e1f9a4ac1c81c265bb3c.png)

Order Confirmation Prestashop URL  
[https://mysite.com/confirmacion-pedido?key=6b50e942bf2498c26231&id\_cart=26094&id\_module=72&id\_order=7777](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.

 ![Captura de pantalla 2024-06-14 161208](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2baf25074258edcd7285055961d8bc564516d55a.png)

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

 ![Captura de pantalla 2024-06-14 161949](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/efb43a16de89aae44a4b116106e969be70ba2653.jpeg)

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.
