You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I do not why this should be only for NOTYD, but after the update I only see ID's no more product names. I update the code to this so that it is always adding the attribute ID and name correctly + it has the reference:
/modules/paynl_paymentmethods/controllers/front/payment.php
Line 36 took out the public $addedProductIds = array();
Line 169 changed it to this /** * @var $cart CartCore */ $products = $cart->getProducts(); foreach ($products as $product) { $taxClass = Pay_Helper::calculateTaxClass($product['price_wt'], $product['price_wt'] - $product['price']); $taxPercentage = $this->calculateTaxPercentage($product['price_wt'], $product['price']); $apiStart->addProduct($product['id_product'] . '_' . $product['id_product_attribute'], $product['reference'] . '_' . $product['name'], round($product['price_wt'] * 100), $product['cart_quantity'], $taxClass, $taxPercentage); }