MartinDurant
Programmer
I am integrating a card payment system into my web site and I need to use a 'jump page' to redirect requests to the card processor.
The reason for this is that the URL for the page that links to the card processor needs to be exactly specified (
) on the card processor's server to verify that the payment request comes from my site.
The page I want to link from has a variable passed to it so the url is always different ie. it has
in it. This link page has a form containing data I need to send to the card processor.
What I need to do is send the form to another page on my site and then redirect it automtically to my card processor without the user having to do anything. I have been given a sample piece of javascript code to do this;
but I don't know how to implement it. I don't speak Javascript yet, which doesn't help.
Any ideas?
Thanks
Martin.
The reason for this is that the URL for the page that links to the card processor needs to be exactly specified (
Code:
[URL unfurl="true"]http://www.mydomain.co.uk/mylinkpage.asp[/URL]
The page I want to link from has a variable passed to it so the url is always different ie. it has
Code:
...mylinkpage.asp?ordernum=12345
What I need to do is send the form to another page on my site and then redirect it automtically to my card processor without the user having to do anything. I have been given a sample piece of javascript code to do this;
Code:
<body onload="document.forms[0].submit()">
Any ideas?
Thanks
Martin.