cancel
Showing results for 
Search instead for 
Did you mean: 

SIM Method Automatic Redirection To My Site

Hello Friends,

 

I'm using SIM method. After payment when we came to receipt page we need to click on Link or Button. Then we are going to redirect on our side.

 

Is this possible that after payment when we come on receipt page after 5-10 seconds it will automatically redirect to my website??

 

Because i'm facing on live site some users don't click on button or link & it causes major issue for me.

sandhira_236
Member
2 REPLIES 2

Javascript

 

RaynorC1emen7
Expert

The only reason I can think of why not clicking through to your site would be a major problem is if you have some database updates or automatic emails or whatever that trigger on the page they end up at. Those should really be done on the relay response page. If you still really want them to redirect, for whatever reason, you can use a meta redirect in your header:

 

<meta http-equiv="refresh" content="0; url=http://www.mydomain.com">

 Supposedly, this method of redirecting is discouraged by the W3C, so you can use Javascript as well just to make sure:

 

<script type="text/javascript">
window.location.href = 'http://www.mydomain.com';
</script>

Virtually everyone will have one or the other method supported. The remaining miniscule percentage can use the button you already have on the reciept page.

TJPride
Expert