Esempio n. 1
0
 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 );
 }
Esempio n. 2
0
 function __construct(Am_Paysystem_Abstract $plugin, Am_Request $request, Zend_Controller_Response_Http $response, $invokeArgs)
 {
     parent::__construct($plugin, $request, $response, $invokeArgs);
 }
Esempio n. 3
0
 public function processValidated()
 {
     //only for free trial
     if (!doubleval($this->invoice->first_total)) {
         parent::processValidated();
     }
 }