I'm getting this error after installing a new paymentmodule (Freepay):
www/storage/modification/admin/controller/sale/order.php on line 1252
All payments are working fine, but the order doesn't show up in order history. The buyer receives the receipt and I receive a confirmation email. Everything seems ok, except the missing order in order history.
Code: Select all
$api_key = $this->config->get('payment_freepay_api_key');
if (!empty($api_key)) {
$transaction_id = $this->db->query("SELECT transaction_id FROM " . DB_PREFIX . "freepay_transaction WHERE order_id = '" . (int)$order_info['order_id'] . "'")->row['transaction_id'];
if (!empty($transaction_id)) {
require DIR_SYSTEM . 'library/freepay/freepay.php'