I put some extra order processing in place that is it sends a CSV file to an FTP server with order details. I used the files and methods of the ocb_ftporderdata module example.
It works great up until it prepares the CSV, sends it to the FTP, but after it doesn’t go back to the thankyou page and basket is not emptied.
It stays blank with the following URL: shopDev/index.php?
If I get back to index.php I see the articles are still in the basket and I need to go through ordering again to make the basket empty and be ready for the next order.
So I guess somehow at the end of the export it desn’t give back correctly the hand to the finalizing process. What could be missing at the end of the custom module so that it finishes correctly the process?
Without the module everything is OK? White thankyou-page indicates that PHP or Smarty dies somewhere inbetween (e.g. because of errors in e-mail templates caused by wysiwig editors).
Yeah without the module everything is OK. By the way when redoing the order to clean up the basket it finishes the process correctly since it doesn’t go into the module as the order state is “exported” from the previous and failed checkout.
If there are errors aren’t any error logs where I can check what went wrong?
Your error reporting seems to be off, i just tried the module, everything like you described, but instead of a white page i see:
Fatal error: Call to a member function setValue() on a non-object in C:\web\www\oxid_477\modules\ocb_ftporderdata\models\ocb_ftporderdata_oxorder.php on line 39