authorize.net cim empty response array using php sdk without errors -


i getting empty array response authorize.net without errors.

authorizenetcim_response object ( [xml] => [response] => )

i using new php sdk. here code

//authorizenet configuration         define("authorizenet_api_login_id",''); define("authorizenet_transaction_key",''); define("authorizenet_sandbox",true);  //create new customer profile $request                             = new authorizenetcim; $customerprofile                     = new authorizenetcustomer; $customerprofile->description        = "bar express customer"; $customerprofile->email              = "a97eehdhd@gmail.com";  $response =$request->createcustomerprofile($customerprofile);   if ($response->isok()) {     $customerprofileid = $response->getcustomerprofileid(); }  echo print_r($response); 

authorize.net doing upgrades system. need go latest sdk of authorize.net on github here , download that. inside lib/ssl folder, copy cert.pem file, , paste in sdk inside same folder lib/ssl. overwrite existing certificate file. thats it. should start working :)


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -