1. Modify NSconfig.php:
//add the following lines
if(isset($environment)){
$environmentstrng = $environment;
}else{
$environmentstrng = "";
}
//modify $nshost
$nshost = "https://webservices." . $environmentstrng . "netsuite.com";
2. Modify NSPHPClient.php. Add global variable $environment in protected function __construct($wsdl=null, $options=array())
3. Dynamically assign value for $environment in your PHP code (either "" or "na1.")
No comments:
Post a Comment