Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 35
Registered: ‎01-15-2013

how to redirect to home page or merchant website after order process

how to redirect to merchant's website or to home page...

 

or

 

how to dispaly success message or error message after completing order process..

am using relay response in SIM method....

 

please give me sample source code for redirection..

 

please help as soon as possible

 

 

thanq

 

 

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: how to redirect to home page or merchant website after order process

set x_relay_response to true

then set x_relay_url

 

on your relay response page read the form post values

http://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/common/html/wwhelp.htm#href=SIM_Trans_respo...

 

do a javascript redirect on the relay response page to return to your site/domain.

 

You can paid Certified Developers

http://www.authorize.net/solutions/merchantsolutions/merchantservices/certifieddeveloperdirectory/