/
Wrong Amount Sent to Paypal Gateway

Wrong Amount Sent to Paypal Gateway

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/03fdaed5700bfe27#

Hi,

while I was doing some tests, I've found that paypal.php gateway class have a bug: amount sent to gateway is SubTotal, instead of being TotalAmount:

#51:  $ret['amount'] = $this->ConvertCurrency($item_data['SubTotal'], $target);

I've manually checked that this is not the case for all other built-in gateway classes.

And I'm still very happy to see I can't access Mantis in-commerce related tasks... Surely because I can't bring anything good there ;-)

p