示例#1
0
 /**
  * To assign correct transaction id and token after refund
  *
  * @param Mage_Sale_Model_Order_Creditmemo $creditmemo
  * @param Mage_Sale_Model_Order_Payment $payment
  * @return Mage_Cybersource_Model_Soap
  */
 public function processCreditmemo($creditmemo, $payment)
 {
     parent::processCreditmemo($creditmemo, $payment);
     $creditmemo->setTransactionId($payment->getLastTransId());
     $creditmemo->setCybersourceToken($payment->getLastCybersourceToken());
     return $this;
 }
示例#2
0
 public function processCreditmemo($creditmemo, $payment)
 {
     return parent::processCreditmemo($creditmemo, $payment);
 }