Skip to content

Commit a622216

Browse files
author
Marc Bernabeu
authored
Merge pull request #62 from jpachecoestepa/master
Fixed canceled orders with null state - issue #57
2 parents 2a71115 + 347c806 commit a622216

File tree

1 file changed

+1
-1
lines changed
  • app/code/community/Devopensource/Redsys/Helper

1 file changed

+1
-1
lines changed

app/code/community/Devopensource/Redsys/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function stateErrorTpv($_order,$errorMessage = null){
183183
}
184184

185185
// Notificacion privada
186-
$this->setCustomState($_order,null, $status, $comment, false, false);
186+
$this->setCustomState($_order, $state, $status, $comment, false, false);
187187
Mage::dispatchEvent('order_cancel_after', array('order' => $_order));
188188
$_order->save();
189189

0 commit comments

Comments
 (0)