コード例 #1
0
 /**
  * {@inheritDoc}
  */
 public function setPendingZeroAuthTxnId($pendingZeroAuthTxnId)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPendingZeroAuthTxnId', array($pendingZeroAuthTxnId));
     return parent::setPendingZeroAuthTxnId($pendingZeroAuthTxnId);
 }
コード例 #2
0
ファイル: ZeroAuth.php プロジェクト: kewaunited/xcart
 /**
  * Cleanup pending zero-auth data from profile 
  *
  * @return void
  */
 protected function cleanupZeroAuthPendingData(\XLite\Model\Profile $profile)
 {
     $profile->setPendingZeroAuthTxnId('');
     $profile->setPendingZeroAuth('');
     $profile->setPendingZeroAuthInterface('');
     \XLite\Core\Database::getEM()->flush();
 }