コード例 #1
0
ファイル: Pro.php プロジェクト: hazaeluz/magento_connect
 public function getTitle()
 {
     return parent::getTitle();
 }
コード例 #2
0
ファイル: Pro.php プロジェクト: jpbender/mage_virtual
 public function getTitle()
 {
     return parent::getTitle() . ' (PBridge)';
 }
コード例 #3
0
 /**
  * Void payment
  *
  * @param Varien_Object $payment
  * @return Mage_Paypal_Model_Payflowlink
  */
 public function void(Varien_Object $payment)
 {
     /** @var $payment Mage_Sales_Model_Quote_Payment */
     if ($payment instanceof Mage_Sales_Model_Order_Payment) {
         parent::void($payment);
         $payment->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_VOID);
         return $this;
     } elseif ($payment instanceof Mage_Sales_Model_Quote_Payment) {
         $this->setStore($payment->getQuote()->getStoreId());
     } else {
         if ($payment->getStore()) {
             $this->setStore($payment->getStore());
         }
     }
     $request = $this->_buildBasicRequest($payment);
     $request->setTrxtype(self::TRXTYPE_DELAYED_VOID);
     $request->setOrigid($payment->getTransactionId());
     $response = $this->_postRequest($request);
     $this->_processErrors($response);
     return $this;
 }
コード例 #4
0
ファイル: Payflowpro.php プロジェクト: xiaoguizhidao/bb
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->_debugReplacePrivateDataKeys[] = 'buttonsource';
 }