Hi Alex,
I reproduced your problem and I am working on some patchs.
It affect mainly two files, the class order and the class vendor.
Class vendor (function pay)
$vendorPayOrderType = 'sale';
$order->history->history_notified = 1;
$order->order_billing_address_id = $this->getAddressId($vendor);
By
$vendorPayOrderType = 'sale';
$order->history->history_notified = 1;
$order->order_billing_address_id = $this->getAddressId($vendor);
if(empty($order->hikamarket))
$order->hikamarket = new stdClass();
$order->hikamarket->do_not_process = true;
Class order
public function afterCreate(&$order, &$send_email) {
if(empty($order) || empty($order->order_type))
return;
if($order->order_type == 'subsale')
$send_email = false;
By
public function afterCreate(&$order, &$send_email) {
if(empty($order) || empty($order->order_type))
return;
if($order->order_type == 'subsale')
$send_email = false;
if(isset($order->hikamarket->do_not_process))
return;
It should fix the problem.
I have also changed some design problem but it is mainly "cosmetic".
Regards,