Skip to content

Instantly share code, notes, and snippets.

@LeeSaferite
LeeSaferite / gist:662396
Created November 4, 2010 12:36
Mage_PayPal fix for versions prior to 1.4
diff --git a/app/code/core/Mage/Paypal/Model/Standard.php b/app/code/core/Mage/Paypal/Model/Standard.php
index e77e3d8..e70efea 100644
--- a/app/code/core/Mage/Paypal/Model/Standard.php
+++ b/app/code/core/Mage/Paypal/Model/Standard.php
@@ -368,8 +368,16 @@ class Mage_Paypal_Model_Standard extends Mage_Payment_Model_Method_Abstract
*/
} else {
-
- if ($this->getIpnFormData('mc_gross')!=$order->getBaseGrandTotal()) {