Tag Archives: authorize.net

authorize.net getCustomerProfile example

Here’s an example of how to get use getCustomerProfile() with authorize.net: // define your api key and do your include define(‘AUTHORIZENET_API_LOGIN_ID’, ‘xxxxx’); define(‘AUTHORIZENET_TRANSACTION_KEY’, ‘xxxxxxx’); // include the sdk require_once(‘/lib/AuthorizeNet.php’); // now make the request $request = new AuthorizeNetCIM; $response = $request->getCustomerProfile($customerProfileId); You will have a nice XML (or SOAP) response that you can parse and use the data from.

Posted in Tech Tips, Web Development | Tagged , , | Leave a comment