Forum Moderators: coopster

Message Too Old, No Replies

Authorize.net relay Responses

         

kadnan

9:20 pm on Jun 4, 2003 (gmt 0)

10+ Year Member



Hello
I am using authorize.net Relay Response method for reciving Data
Instead of reciving all vars its sending back 2 vars

$x_response_code and x_response_reason_text
while its not printing
$x_First_Name etc though they are being processed properly by Gateway Server(proof is the email i recieved and i checked some other cgi file for that,reside on some other server)
what could be the reason
here is .phps file which is reciving data

<mod insert>
echo("Transaction NO:".$x_response_code."<br>");
echo("Reason:".$x_response_reason_text);
echo("Reason Code:".$x_First_Name);
?>

<?
$Cust_ID=$x_Cust_ID; // use this for setting the Session
$First_Name=$x_First_Name;
$Last_Name=$x_Last_Name;
echo("Trans ID: ".trim($x_Amount)."<br>");
echo("Customer ID: ".$Cust_ID."<br>");
echo("Firt Name: ".$x_First_Name."<br>");

</mod insert>
thanks and i need urgent Help

[edited by: jatar_k at 9:56 pm (utc) on June 4, 2003]
[edit reason] no urls thanks [/edit]

jatar_k

9:55 pm on Jun 4, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you ever get a hold of their documentation to find out the returned parameters?

jatar_k

10:33 pm on Jun 4, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There seem to be many pdf's available on their site via the "support services tab"

kadnan

6:57 am on Jun 5, 2003 (gmt 0)

10+ Year Member



Yes
the variables i am using here are not my own
$x_First_Name is the variable returned by gateway server but it seems that I am not implementing them properly

do i need to use $_POST[$x_First_Name] instead?

help me please

jatar_k

3:30 pm on Jun 5, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try it with $_POST and see if that works. The script looks fine so try adding $_POST and see if that works. If it comes through in the url then you can use $_GET.