Jump to content

Payment at gateway doesn't include tax!


Recommended Posts

Hi.

 

We recently got a module for credit card payments. The modules works this way, it sends encrypted information to the payment gateway. No payment is on my site and everything goes at the credit card office.

 But here's the problem, in my prestashop site is the product with tax, total is with tax and I want it to stay that way. BUT in the payment site wich belongs to the credit card company, the total is without tax!

 

the module gets the price total from

            _PS_OS_PAYMENT_,
            $cart->getOrderTotal(),

 

and

        $Vara_1_Verd = number_format(Tools::convertPrice($params['cart']->getOrderTotal(true, 4), $Gjaldmidill), 0, ',', '');
        $carri = $params['cart']->getOrderShippingCost($params['cart']->id_carrier);
                $vorur = array();
                $checkSumString = '';
                $counter = 1;  

 

 

Can I change this ? the credit card company says' the easist way is to change the price of all products and don't include tax whatsoever

 

with regards, Rob

Edited by cendenz (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...