Схема
private mixed
externalApplicationNotify (
$order_id )
Аргументы
| Аргумент |
Возможный тип |
Описание |
| $order_id |
— |
— |
Описание
Метод пока еще не документирован.
Исходный код
/* This is used by the Mosaic Fullfilment solutions @ www.mosaic-fs.co.uk */
if ($this->openbay->addonLoad('mosaic') && !$this->mosaic->isOrderAdded($order_id)) {
$this->db->query("UPDATE `" . DB_PREFIX . "order` SET `shipping_code` = 'ebay.STD' WHERE `order_id` = '".(int)$order_id."' LIMIT 1");
$this->mosaic->sendOrder($order_id, 'PP', '');
$this->openbay->ebay->log('Mosaic module has been notified about order ID: '.$order_id);
}
/* send the new order notification to openbay so the other markets can update the stock */
/* @todo */
/* improve this to update when products are subtracted, NOT just when they are paid */
$this->openbay->orderNew($order_id);