Skip to content

Commit e9adb06

Browse files
author
Marc Bernabeu
committed
Dispatch event cancel order
1 parent e61aec8 commit e9adb06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • app/code/community/Devopensource/Redsys/Helper

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function stateErrorTpv($_order,$errorMessage = null){
184184

185185
// Notificacion privada
186186
$this->setCustomState($_order,null, $status, $comment, false, false);
187+
Mage::dispatchEvent('order_cancel_after', array('order' => $_order));
187188
$_order->save();
188189

189190
$allowStatuses = explode(',', Mage::getStoreConfig('payment/redsys/notify_order_status',Mage::app()->getStore()));

0 commit comments

Comments
 (0)