This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Description
Hi,
We are using the PHP SDK provided for creating a new contact list but are facing problems in that. The values are getting submitted and created on the ConstantContact server but there is no reply that we receive and so we cannot find out if it is successful or not and a blank page is show. Here is the code that we use ...
$ccListOBJ=new ConstantContact($_REQUEST['API_KEY']);
$access_token=$_REQUEST['access_token'];
$listObj = new ContactList();
$listObj->name = $_REQUEST['txtListName'];
$listObj->status = "ACTIVE";
$returnListVal=$ccListOBJ->addList($access_token,$listObj);
And if we try to print / echo $returnListVistVal, then there is a error show which is ...
"Catchable fatal error: Object of class Ctct\Components\Contacts\ContactList could not be converted to string in"
Please let me know if I am doing something wrong or is anything missing.
Thanks
Inwinder