diff --git a/paynlpaymentmethods/paynlpaymentmethods.php b/paynlpaymentmethods/paynlpaymentmethods.php index 3e14dd1..8266bc7 100644 --- a/paynlpaymentmethods/paynlpaymentmethods.php +++ b/paynlpaymentmethods/paynlpaymentmethods.php @@ -880,7 +880,8 @@ private function _getProductData(Cart $cart) 'name' => $product['name'], 'price' => $product['price_wt'], 'vatPercentage' => $product['rate'], - 'qty' => $product['cart_quantity'] + 'qty' => $product['cart_quantity'], + 'type' => 'ARTICLE' ); } $shippingCost_wt = $cart->getTotalShippingCost(); @@ -891,6 +892,7 @@ private function _getProductData(Cart $cart) 'price' => $shippingCost_wt, 'tax' => $shippingCost_wt - $shippingCost, 'qty' => 1, + 'type' => 'SHIPPING' ); return $arrResult;