We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc15c93 commit bdd0697Copy full SHA for bdd0697
app/code/core/Mage/Sales/Model/Order/Payment.php
@@ -805,7 +805,7 @@ public function registerRefundNotification($amount)
805
$amount = $amountRefundLeft;
806
}
807
808
- if ($amount != $baseGrandTotal) {
+ if (Mage::helper('core')->getExactDivision($amount, $baseGrandTotal) != 0) {
809
$transaction = new Varien_Object(['txn_id' => $this->getTransactionId()]);
810
Mage::dispatchEvent('sales_html_txn_id', ['transaction' => $transaction, 'payment' => $this]);
811
$transactionId = $transaction->getHtmlTxnId() ? $transaction->getHtmlTxnId() : $transaction->getTxnId();
0 commit comments