示例#1
0
文件: payflow.php 项目: grlf/eyedock
 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 );
 }
示例#2
0
 public function processValidated()
 {
     //only for free trial
     if (!doubleval($this->invoice->first_total)) {
         parent::processValidated();
     }
 }