array_push($articles, array('articleId' => $itemId, 'articleNumber' => '', 'articleTitle' => $totals['ot_gv']['title'], 'articleDescription' => '', 'articleQuantity' => 1, 'articlePrice' => $_POST['value_ot_gv'], 'articleTax' => $tax, 'articleOrdersProductsId' => '', 'articleOrdersId' => $_GET['oID'], 'articleType' => 'discount'));
 }
 if (isset($_POST['value_ot_coupon'])) {
     $itemId = 'discount|ot_coupon';
     $tax = shopGetTaxRate(MODULE_ORDER_TOTAL_COUPON_TAX_CLASS);
     array_push($articles, array('articleId' => $itemId, 'articleNumber' => '', 'articleTitle' => $totals['ot_coupon']['title'], 'articleDescription' => '', 'articleQuantity' => 1, 'articlePrice' => $_POST['value_ot_coupon'], 'articleTax' => $tax, 'articleOrdersProductsId' => '', 'articleOrdersId' => $_GET['oID'], 'articleType' => 'discount'));
 }
 if (isset($_POST['value_ot_loworderfee'])) {
     $itemId = 'agio|ot_loworderfee';
     $tax = shopGetTaxRate(MODULE_ORDER_TOTAL_LOWORDERFEE_TAX_CLASS);
     array_push($articles, array('articleId' => $itemId, 'articleNumber' => '', 'articleTitle' => $totals['ot_loworderfee']['title'], 'articleDescription' => '', 'articleQuantity' => 1, 'articlePrice' => $_POST['value_ot_loworderfee'], 'articleTax' => $tax, 'articleOrdersProductsId' => '', 'articleOrdersId' => $_GET['oID'], 'articleType' => 'agio'));
 }
 $query = shopDbQuery('SELECT transaction_id FROM sofort_orders WHERE orders_id = "' . $_GET['oID'] . '"');
 $result = shopDbFetchArray($query);
 $sofortOrderSynchronisation = new sofortOrderSynchronisation();
 $errors = $sofortOrderSynchronisation->editArticlesSofort($result['transaction_id'], $articles, $_POST['sofort_update_comment']);
 if ($errors) {
     if ($errors['errors']) {
         $errorCodes .= "<div class='sofort_error'>";
         foreach ($errors['errors'] as $oneError) {
             if (defined('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_' . $oneError['code'])) {
                 $errorCodes .= constant('MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_' . $oneError['code']) . "<br/>";
             } else {
                 $errorCodes .= MODULE_PAYMENT_SOFORT_MULTIPAY_XML_FAULT_0 . "<br/>";
             }
         }
         $errorCodes .= "</div>";
     }
     if ($errors['warnings']) {
         $errorCodes .= "<div class='sofort_error'>";
         foreach ($errors['warnings'] as $oneWarning) {