Skip to content

Commit

Permalink
Remove check currentState for change OpenPayU_Order::STATUS_PENDING
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Oct 8, 2015
1 parent 1a335ba commit 158cd2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/code/community/PayU/Account/Model/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,7 @@ protected function _updatePaymentStatus($paymentStatus)
break;

case OpenPayU_Order::STATUS_PENDING:
if ($currentState != OpenPayU_Order::STATUS_COMPLETED) {
$this->_updatePaymentStatusPending($payment);
}
$this->_updatePaymentStatusPending($payment);
break;

case OpenPayU_Order::STATUS_CANCELED:
Expand Down

0 comments on commit 158cd2e

Please sign in to comment.