$data =
[ 'ordernumber' => '0',
'userID' =>
$this->sUserData
['additional'
]['user'
]['id'
],
'invoice_amount' =>
$this->sBasketData
[CartKey::AMOUNT_WITH_TAX_NUMERIC
],
'invoice_amount_net' =>
$this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
],
'invoice_shipping' =>
$this->sShippingcostsNumeric,
'invoice_shipping_net' =>
$this->sShippingcostsNumericNet,
'ordertime' =>
new Zend_Db_Expr('NOW()'
),
'status' => -1,
'paymentID' =>
$this->
getPaymentId(),
'customercomment' =>
$this->sComment,
'net' =>
$net,
'taxfree' =>
$taxfree,
'partnerID' =>
(string) $this->
getSession()->
offsetGet('sPartner'
),
'temporaryID' =>
$this->
getSession()->
offsetGet('sessionId'
),
'referer' =>
(string) $this->
getSession()->
offsetGet('sReferer'
),
'language' =>
$shop->
getId(),
'dispatchID' =>
$dispatchId,
'currency' =>
$this->sBasketData
[CheckoutKey::CURRENCY_NAME
],
'currencyFactor' =>
$this->sBasketData
[CheckoutKey::CURRENCY_FACTOR
],
'subshopID' =>
$mainShop->
getId(),