settings = $Shopp->Settings->get('TestMode'); return true; } function process () { if ($this->settings['response'] == "error") return false; return true; } function transactionid () { if ($this->settings['response'] == "error") return ""; return "TESTMODE"; } function error () { if (!$this->Response) return new ShoppError(__("This is an example error message. Disable the 'always show an error' setting to stop displaying this error.","Shopp"),'test_mode_error',SHOPP_TRXN_ERR); } function build (&$Order) { } function response () { } function settings () { ?>