diff --git a/Model/Paymentmethod/PaymentMethod.php b/Model/Paymentmethod/PaymentMethod.php index 33880dbd..dc7b47a9 100644 --- a/Model/Paymentmethod/PaymentMethod.php +++ b/Model/Paymentmethod/PaymentMethod.php @@ -343,6 +343,7 @@ protected function doStartTransaction(Order $order) 'price' => $price, 'qty' => $arrItem['qty_ordered'], 'tax' => $taxAmount, + 'type' => \Paynl\Transaction::PRODUCT_TYPE_ARTICLE ); # Product id's must be unique. Combinations of a "Configurable products" share the same product id. @@ -403,7 +404,8 @@ protected function doStartTransaction(Order $order) 'name' => $discountDescription, 'price' => $discount, 'qty' => 1, - 'tax' => $discountTax + 'tax' => $discountTax, + 'type' => \Paynl\Transaction::PRODUCT_TYPE_DISCOUNT ); }