/** * {@inheritDoc} */ public function setPendingZeroAuthTxnId($pendingZeroAuthTxnId) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPendingZeroAuthTxnId', array($pendingZeroAuthTxnId)); return parent::setPendingZeroAuthTxnId($pendingZeroAuthTxnId); }
/** * 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(); }