cancel
Showing results for 
Search instead for 
Did you mean: 

x_relay_url does not work in my html

Hi,

 

After the transaction is over, I expect the response in my result page by using the relay url but it still stays on the authorize.net server. Can you help me out?

---- this is my html form ocde --

<form id="send_hptoken" action="https://accept.authorize.net/payment/payment" method="post" >
<input type="hidden" name="token" value=""sdf7sdfsSDF435wedfsadfwerwr" />
<INPUT TYPE=HIDDEN NAME="x_amount" VALUE="30.50">
<INPUT TYPE=HIDDEN NAME="x_invoice_num" VALUE="ORDER-002450">
<INPUT TYPE=HIDDEN NAME="x_cust_id" VALUE="Doe-John 001">
<INPUT TYPE=HIDDEN NAME="x_show_form" VALUE="PAYMENT_FORM">
<INPUT TYPE=HIDDEN NAME="x_method" VALUE="CC">
<INPUT TYPE=HIDDEN NAME="x_show_form" VALUE="PAYMENT_FORM">
<INPUT TYPE=HIDDEN NAME="x_cancel_url" VALUE="https://MYSERVER/my-form/test1.php">
<INPUT TYPE=HIDDEN NAME="x_cancel_url_text" VALUE="x_cancel_url_text">
<INPUT TYPE=HIDDEN NAME="x_relay_response" VALUE="TRUE">
<INPUT TYPE=HIDDEN NAME="x_relay_always" VALUE="TRUE">

<INPUT TYPE=HIDDEN NAME="x_relay_url" VALUE="https://MYSERVER/my-form/result.php">

<INPUT TYPE=SUBMIT VALUE="Click here for the secure payment form">
</form>

 

joshuakim
Member
1 REPLY 1

 

Hi joshuakim,

 

When using Relay Response, Authorize.Net relays the content of your receipt page to the customer's browser. You would have to redirect the user back to your site or have them click on a link to return to your site.

 

Thanks,

Joy

Joy
Administrator Administrator
Administrator