I would like for this to be part of the new customer registration. So that when a new customer registers on the site that the information is passed via the API to Infusionsoft.
I would like to change the "john" "doe" etc. so that they are = to their corresponding variables in OC.
Code: Select all
require("./isdk/src/isdk.php");
$myApp = new iSDK;
$myApp->cfgCon("mgsi");
$conDat = array('FirstName' => 'John',
'LastName' => 'Doe',
'Email' => 'JDoe@email.com');
$conID = $myApp->addCon($conDat);