Cs cart returns error "transaction cancelled by customer" on suscessfully paid orders via Servired and returns clients to checkout page on Cs CART 2.2.5
This issue was fixed in the new versions 4.6 but how to fix it in version 2.*?
the domain has SSL (Lets encrypt) not supported by Redsys, so the servired.php returns url were changed to http as follows:
$url_merchant = Registry::get('config.http_location') . "/$index_script?dispatch=payment_notification.result&payment=servired&order_id=$order_id$postfix";
$url_ok = Registry::get('config.http_location') . "/$index_script?dispatch=payment_notification.notify&payment=servired&order_id=$order_id$postfix";
$url_nok = Registry::get('config.http_location') . "/$index_script?dispatch=payment_notification.failed&payment=servired&order_id=$order_id$postfix";
the logs has no errors and looks as follows:
302 GET /index.php?dispatch=payment_notification.notify&payment=servired&order_id=72605 HTTP/1.0 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 576 Apache access
302 GET /index.php?dispatch=payment_notification.notify&payment=servired&order_id=72605 HTTP/1.0 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 2.10 K Apache SSL/TLS access
I checked with new version 4.6 (working fine) and the log should be POST instead GET
200 POST /index.php?dispatch=payment_notification.result&payment=servired&order_id=134013 HTTP/1.1 Java/1.7.0 5 nginx access
The server where cs cart 2 is installed has php 5.3.29 run by FastCGI,
Could it be handler issue? May be to change it to mod_php Apache? (If I remember write it worked with php 5.2 / Apache handler).
Any idea what else can cause this behavior?
Thanks