Results 1 to 2 of 2
Thread: authorize.net sample code help
May 11, 2009, 09:23 #1
authorize.net sample code help
Help, Im working on the authorize.net api and need some help. There is a way to get the resppnce codes from using explode() but i dont know how. The code is below:
// This line takes the response and breaks it into an array using the specified delimiting character
$response_array = explode($post_values["x_delim_char"],$post_response);
// The results are output to the screen in the form of an html numbered list.
foreach ($response_array as $value)
echo "<LI>" . $value . " </LI>\n";
// individual elements of the array could be accessed to read certain response
// fields. For example, response_array would return the Response Code,
// response_array would return the Response Reason Code.
// for a list of response fields, please review the AIM Implementation Guide
So how do I get the response_array so I can echo it? Thanks