Open Shoprunners opened 3 years ago
We had the same issue, but found a solution. It looks like Prestashop is clearing the output buffer when generating PDFs, and we had configured the "payment accepted" status change, so that an email is sent with the invoice attached. The output from the status script was then cleared and payone did not receive a correct answer. In the end, payone tried updating the status over and over again.
Our solution is a small change in the status.php of the fcpayone plugin, in the process() function, move the echo to the end, just before the exit:
public function process()
{
$this->saveTransaction();
$this->handleOrderState();
$this->handleForwarding();
echo 'TSOK';
exit;
}
Prestashop 1.7.7.5 Module Version 2.0.8
We have set up the module like supposed in the documentation.
But payone orders keep getting status updates.
Why?