예제 #1
0
 /**
  * Get config peyment action
  *
  * @return string
  */
 public function getConfigPaymentAction()
 {
     if ('pending' == $this->getConfigData('order_status')) {
         return Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE;
     }
     return parent::getConfigPaymentAction();
 }
예제 #2
0
파일: Free.php 프로젝트: cewolf2002/magento
 /**
  * Get config payment action, do nothing if status is pending
  *
  * @return string|null
  */
 public function getConfigPaymentAction()
 {
     return $this->getConfigData('order_status') == 'pending' ? null : parent::getConfigPaymentAction();
 }
예제 #3
0
 public function getConfigPaymentAction()
 {
     return $this->getConfigData('async') == '1' ? 'order' : parent::getConfigPaymentAction();
 }