Actually its only some lines of code (which you can also find in the Authorize.net AIM sample code):
curl_setopt($request, CURLOPT_HEADER, 0);
curl_setopt($request, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($request, CURLOPT_POSTFIELDS, $post_string);
$post_response = curl_exec($request);
curl_close ($request); // close curl object
// Following line takes the response
$response_array = explode($post_values["x_delim_char"],$post_response);
Keep in mind: your website can only sent a CURL call if your PHP has the CURL module implemented.
1 Comment
Trackbacks/Pingbacks
show/hide trackbacks[...] very important happened between the last two steps. Your website sent the CC-Data via a hidden CURL call to Authorize.net – the result of the transaction is sent back again in the background. Like this the customer [...]