/** * called if voiding a payment */ public function void(Varien_Object $payment) { $order = $payment->getOrder(); if (!empty($order)) { $hash = array('litleTxnId' => $payment->getCcTransId()); $merchantData = $this->merchantData($payment); $hash_in = array_merge($hash, $merchantData); $litleRequest = new LitleOnlineRequest(); $litleResponse = $litleRequest->echeckVoidRequest($hash_in); } $this->processResponse($payment, $litleResponse); }