cedric.v Posted June 25, 2012 Share Posted June 25, 2012 (edited) Hi, I'm having some problem changing the price in the paypal modules. I managed to do it with check and the transfer but I can't find a way to do it with paypal. This is what I added in the paypal module (paypal.php) line 394 : $sql = "SELECT assurance FROM `"._DB_PREFIX_."assurance` WHERE `cart` = ".$cart->id; $resultat = mysql_query($sql) or die (mysql_error()); $val = mysql_fetch_row($resultat); And modified this line just after : $total = $cart->getOrderTotal(true, Cart::BOTH) + $val[0]; This system works fine with the check and transfer. I reinstalled the paypal module and now it's even worse because the when I click on the paypal logo, it goes directly to paypal sandbox instead of going to the confirm page. What should I do ? Edited June 25, 2012 by cedric.v (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted June 26, 2012 Share Posted June 26, 2012 you have disable the sandbox on paypal config? Link to comment Share on other sites More sharing options...
cedric.v Posted June 26, 2012 Author Share Posted June 26, 2012 Yes I understand why it goes directly to the sandbow, it's because of the API parameters that are gone. But that's not a big problem, just an anecdote. I really need to modify the paypal.php file for the person to pay the right amount. Link to comment Share on other sites More sharing options...
cedric.v Posted June 27, 2012 Author Share Posted June 27, 2012 Can somebody help me ? I need to change the pricing. Link to comment Share on other sites More sharing options...
shacker Posted June 29, 2012 Share Posted June 29, 2012 check the module paypal with fee Link to comment Share on other sites More sharing options...
Recommended Posts