Hi Nicolas,
RE : Step 4)
Let's do it differently then. Everywhere you have:
(int)$currency->currency_locale
in the plugins/hikashoppayment/paypal.php file, please replace that piece by:
2
Did you mean like this?
$vars["amount_1"]=round($order->cart->full_total->prices[0]->price_value_with_tax,(int)$currency->currency_locale);
change it to:
$vars["amount_1"]=round($order->cart->full_total->prices[0]->price_value_with_tax,(int)$currency->currency_locale=2);
=============================================================================================================
$tax+=round($product->order_product_tax,(int)$currency->currency_locale)*$product->order_product_quantity;
$i++;
change it to:
$tax+=round($product->order_product_tax,(int)$currency->currency_locale=2)*$product->order_product_quantity;
$i++;
=============================================================================================================
$vars["amount_".$i]=round($order->order_shipping_price,(int)$currency->currency_locale);
change it to:
$vars["amount_".$i]=round($order->order_shipping_price,(int)$currency->currency_locale=2);
===============================================================================================================
$vars["discount_amount_cart"]=round($order->order_discount_price,(int)$currency->currency_locale);
change it to:
$vars["discount_amount_cart"]=round($order->order_discount_price,(int)$currency->currency_locale=2);
================================================================================================================
$price_check = round($dbOrder->order_full_price, (int)$currency->currency_locale );
change it to:
$price_check = round($dbOrder->order_full_price, (int)$currency->currency_locale=2 );
================================================================================================================
Total 4 of above right?
Thanks!
Jade