Hi,
I am not able to see generated customer information under sales center -> lead tab in method CRM but able to insert customer data into customer table and getting response "success" with lead no and name. But the same code which we are using for another site able to see generated customer information under sales center -> lead and insert customer data into customer table. Below is the piece of code which I am using to insert customer in method CRM.
----------------
My Code in PHP
function insertCust($id, $fname, $lname, $company, $phone, $email, $address, $city, $state, $zip){
$client = new nusoap_client('https://www.methodintegration.com/MethodAPI/service.asmx?WSDL', array('soap_version' => SOAP_1_2));
$client->soap_defencoding = 'UTF-8';
$name = $id." ".$fname." ".$lname;
$fields = array('string' => array("Name","CustomerNumber","CompanyName","FirstName","LastName","Phone","Email","BillAddressAddr1","BillAddressCity","BillAddressState","BillAddressPostalCode"));
$values = array('string' => array($name, $id, $company, $fname, $lname, $phone, $email, $address, $city, $state, $zip));
$dsResp = "";
$param = array("strCompanyAccount" => "xxx", "strLogin" => "xxx", "strPassword" => "xxx", "strTable"=>'Customer',"arrInsertFieldsArray"=>$fields,"arrInsertValueArray"=>$values);
$result = $client->call('MethodAPIInsert', array($param), '', '', true, true);
return $result["intResponseRecordID"];
exit;
}
Please advise solution ASAP.
Thanks,
Raghuveer