public function processValidated() { parent::processValidated(); if ($this->request->get('RebillAnchor')) { $this->invoice->data()->set(Am_Paysystem_Payonlinesystem::REBILL_ANCHOR, $this->request->get('RebillAnchor'))->update(); } }
public function processValidated() { parent::processValidated(); switch ($this->request->getParam($type)) { case '0': $this->invoice->addPayment($this); break; case '2': $this->invoice->addRefund($this, $this->request->get('ref')); break; } }
public function processValidated() { if ($this->request->get('status') == 'closed') { $this->invoice->setCancelled(); } else { $user = $this->invoice->getUser(); $user->data()->set(Am_Paysystem_TargetpayWap::INVOICE_TRANSACTION_ID, $this->request->get('trxid'))->update(); parent::processValidated(); } }
public function processValidated() { parent::processValidated(); echo "OK"; }
public function processValidated() { parent::processValidated(); echo "REDIRECT=" . $this->plugin->getRootUrl() . "/thanks?id=" . $this->invoice->getSecureId("THANKS"); }
function processValidated() { parent::processValidated(); print $this->getPlugin()->getConfig('message', 'Thanks for your payment!'); }
public function processValidated() { if ($this->vars['action'] == 'mp_confirm_password') { parent::processValidated(); if (!$this->invoice->comment && ($n = $this->request->get('number')) && ($p = $this->request->get('passwd'))) { $this->invoice->updateQuick('comment', "SMS num/pass: {$n}/{$p}"); } } }
public function processValidated() { if (!$this->invoice) { return; } parent::processValidated(); }
function processValidated() { parent::processValidated(); print "OK" . $this->invoice->invoice_id; }
public function processValidated() { if ($rbAccId = $this->request->get('rbAccountId')) { $this->invoice->data()->set(Am_Paysystem_BeanstreamRemote::RB_ACCOUNT_ID_KEY, $rbAccId)->update(); } parent::processValidated(); }
public function processValidated() { try { parent::processValidated(); } catch (Am_Exception_Paysystem $e) { Am_Di::getInstance()->errorLogTable->logException($e); $this->answer(); return; } $this->answer(); }
public function processValidated() { parent::processValidated(); if ($this->invoice->status == Invoice::RECURRING_ACTIVE) { $this->invoice->extendAccessPeriod(Am_Period::RECURRING_SQL_DATE); } }