OpenCart 🇺🇦

Схема

public mixed addOrder ( $order_data )

Аргументы

Аргумент Возможный тип Описание
$order_data

Описание

Метод пока еще не документирован.

Исходный код

$this->db->query("INSERT INTO `" . DB_PREFIX . "paypal_iframe_order` SET `order_id` = '" . (int)$order_data['order_id'] . "', `created` = NOW(), `modified` = NOW(), `capture_status` = '" . $this->db->escape($order_data['capture_status']) . "', `currency_code` = '" . $this->db->escape($order_data['currency_code']) . "', `total` = '" . (double)$order_data['total'] . "', `authorization_id` = '" . $this->db->escape($order_data['authorization_id']) . "'");

return $this->db->getLastId();