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