MountainMan Posted October 14, 2013 Posted October 14, 2013 Installed OSC 2.3, getting the error Call to undefined method pm2checkout::order_format() on line 157 in includes/modules/payments/pm2checkout.php Here's the section of code it comes from: // The KEY value returned from the gateway is intentionally broken for Test transactions so it is only checked in Production mode if (tep_not_null(MODULE_PAYMENT_2CHECKOUT_SECRET_WORD) && (MODULE_PAYMENT_2CHECKOUT_TESTMODE == 'Production')) { if (strtoupper(md5(MODULE_PAYMENT_2CHECKOUT_SECRET_WORD . MODULE_PAYMENT_2CHECKOUT_LOGIN . $HTTP_POST_VARS['order_number'] . $this->order_format($order->info['total'], MODULE_PAYMENT_2CHECKOUT_CURRENCY))) != strtoupper($HTTP_POST_VARS['key'])) { $sql_data_array = array('orders_id' => (int)$insert_id, 'orders_status_id' => (int)$order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => '0', 'comments' => MODULE_PAYMENT_2CHECKOUT_TEXT_WARNING_TRANSACTION_ORDER); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); } } Cant find any other reference to "order_format" in the code in my computer at all, nor any answers online. Help appreciated, Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.