We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FILE: Web/Ppfix/Model/Cart.php Method _validate()
Lines if (!$this->_isDiscountAsItem) { $discountAmount = Mage::helper('ppfix')->getExchangeRate($this->_totals[self::TOTAL_DISCOUNT]); $sum -= $discountAmount; // $sum -= $this->_totals[self::TOTAL_DISCOUNT]; }
// PayPal requires to have discount less than items subtotal if (!$this->_isDiscountAsItem) { $this->_areTotalsValid = round($discountAmount, 4) < round($itemsSubtotal, 4); } else { $this->_areTotalsValid = $itemsSubtotal > 0.00001; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
FILE: Web/Ppfix/Model/Cart.php
Method _validate()
Lines
if (!$this->_isDiscountAsItem) {
$discountAmount = Mage::helper('ppfix')->getExchangeRate($this->_totals[self::TOTAL_DISCOUNT]);
$sum -= $discountAmount;
// $sum -= $this->_totals[self::TOTAL_DISCOUNT];
}
// PayPal requires to have discount less than items subtotal
if (!$this->_isDiscountAsItem) {
$this->_areTotalsValid = round($discountAmount, 4) < round($itemsSubtotal, 4);
} else {
$this->_areTotalsValid = $itemsSubtotal > 0.00001;
}
The text was updated successfully, but these errors were encountered: