cancel
Showing results for 
Search instead for 
Did you mean: 

Using SIM, redirection problem after successful transaction using Authorize.net

Hi,

This is simple problem,  please help

 

I use test account for authorize.net and trying to do the payment , everything is ok and the transaction is made but it is not redirecting to my website although i have passed these 2 variable in the form

 

<input type="hidden" name="x_relay_response" value="true" />
<input type=hidden name="x_relay_url" value="http://www.test.com/test.php">

 

in fact i use Gravity forms with wordpress ...

 

the complete code from Gravity form is,

 

{all_fields}
<form id="frmdonate" name="frmdonate" method="post" action="https://test.authorize.net/gateway/transact.dll">

<input name="x_login" type="hidden" value="xxxxx" />
<input name="x_tran_key" type="hidden" value="xxxx" />
<input name="x_version" type="hidden" value="3.1" />
<input name="x_delim_data" type="hidden" value="TRUE" />
<input name="x_delim_char" type="hidden" value="|" />
<input name="x_type" type="hidden" value="AUTH_CAPTURE" />
<input name="x_method" type="hidden" value="CC" />
<input name="x_card_num" type="hidden" value="{Card Number:32}" />

<input name="x_exp_date" type="hidden" value="{Expiration Date:33}" />
<input name="x_amount" type="hidden" value="{Donation Amount: :31}" />
<input name="x_description" type="hidden" value="Sample Transaction" />
<input name="x_first_name" type="hidden" value="{Name (First):1.3}" />
<input name="x_last_name" type="hidden" value="{Name (Last):1.6}" />
<input name="x_address" type="hidden" value="{Address (Street Address):2.1}" />
<input name="x_state" type="hidden" value="{Address (State / Province):2.4}" />
<input name="x_zip" type="hidden" value="{Address (Zip / Postal Code):2.5}" />
<input type="hidden" name="x_relay_response" value="true" />
<input type=hidden name="x_relay_url" value="http://www.test.com/test.php">
<input name="confirmation" type="submit" value="Confirmation"/>
</form>

logudotcom
Member
2 REPLIES 2

You can do either x_delim_data(AIM) or x_relay_response(SIM), but not both at the sametime.

RaynorC1emen7
Expert

Yes, this is rather odd - SIM is designed to have the credit card info collected on the Authorize.net form, not passed as hidden fields (that's a horrible security violation because it leaves a copy of the credit card data in the user's browser cache), and AIM calls Authorize.net internally rather than using a form. If using SIM, you may also want to check to make sure your relay response URL is configured in your control panel, because if it isn't, it still won't work even if the form is correct.

TJPride
Expert