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