function set_gateway_param() { global $psts; Twocheckout::$sid = $psts->get_setting('2co_acc_number'); Twocheckout::username($psts->get_setting('2co_api_username')); Twocheckout::password($psts->get_setting('2co_api_password')); if ($psts->get_setting('2co_checkout_mode') == 'Y') { Twocheckout::sandbox(true); } }
public static function sellerId($value = null) { self::$sid = $value; }