public function processValidated() { parent::processValidated(); // TODO if there was a recurring invoice start it // $tr = new Am_Paysystem_Payflow_Transaction_CreateProfile($this->plugin, $this->invoice, $this->getReceiptId()); // $res = new Am_Paysystem_Result(); // $tr->run(res); // if (!$res->isSuccess()) // throw new Am_Exception_Paysystem("Could not start recurring billing for invoice " . $this->invoice->public_id ); }
public function processValidated() { //only for free trial if (!doubleval($this->invoice->first_total)) { parent::processValidated(); } }