Example #1
0
 /**
  * @deprecated after 1.4.0.0-alpha3
  * this method doesn't make sense, because invoice must not void entire authorization
  * there should be method for invoice cancellation
  * @param Mage_Sales_Model_Order_Invoice $invoice
  * @param Mage_Sales_Model_Order_Payment $payment
  * @return Mage_Payment_Model_Method_Abstract
  */
 public function processBeforeVoid($invoice, $payment)
 {
     $payment->setVoidTransactionId($invoice->getTransactionId());
     return $this;
 }