$order_info['order_no']]); $res = DepositPresaleOrder::pay($order,$order_info['pay_type']); if($res === false) throw new Exception(DepositPresaleOrder::getStaticError()); return true; } catch (Exception $e) { echo $e->getMessage(); $this->setStaticError($e->getMessage()); return false; } } }