- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
03-05-2012 10:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can do either x_delim_data(AIM) or x_relay_response(SIM), but not both at the sametime.
03-06-2012 04:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

03-06-2012 08:37 AM
