$net = '1';
$this->sBasketData
[CartKey::AMOUNT_WITH_TAX_NUMERIC
] =
$this->sBasketData
[CartKey::AMOUNT_NET_NUMERIC
];
$this->sShippingcostsNumeric =
$this->sShippingcostsNumericNet;
$taxfree = '1';
} $partner =
$this->
getPartnerCode( $this->sUserData
['additional'
]['user'
]['affiliate'
] );
$ip =
Shopware()->
Container()->
get(IpAnonymizerInterface::
class) ->
anonymize( (string) Shopware()->
Container()->
get('request_stack'
)->
getCurrentRequest()->
getClientIp() );
$orderParams =
[ 'ordernumber' =>
$orderNumber,
'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' =>
(float) $this->sShippingcostsNumeric,
'invoice_shipping_net' =>
(float) $this->sShippingcostsNumericNet,
'invoice_shipping_tax_rate' =>
isset($this->sBasketData
[CheckoutKey::SHIPPING_COSTS_TAX_PROPORTIONAL
]) ? 0 :
($this->sBasketData
[CheckoutKey::SHIPPING_COSTS_TAX
] ?? 0
),
'ordertime' =>
new Zend_Db_Expr('NOW()'
),