hi there.
I have an asp file (page) which allows users to enter in data. From here they click a button and are directed to a pay site (ogone). Before this redirection occurs i capture the data in an xml file. I use the 'action' method to direct the user to the ogone pay site and 'onSubmit' to validate the users input data.
My problem is that i cant get the data to save to the xml file. Ive got code to do this and to test that this code worked i changed the redirection of the ogone site to the asp file containing the code. The data was saved into the appropriate xml file, hence code works.
The code is a simple function between <% %> tags.
I tried to redirect from here to the ogone paysite but instead of seeing the appropriate screen, it came back with a 'payment details invalid' string and nothing else.
Using the default 'action' which directs the user to the paysite i get the correct site with all the bits needed.
I tried something else as well, I put the function code into the asp file itself rather than in a separate asp file but i cant figure out how to validate the user info (which is written in javascript) and then call the function to save the data, then redirect the user to the paysite.
Anybody know???
I'm desperate. Any help would be most appreciated.
I have an asp file (page) which allows users to enter in data. From here they click a button and are directed to a pay site (ogone). Before this redirection occurs i capture the data in an xml file. I use the 'action' method to direct the user to the ogone pay site and 'onSubmit' to validate the users input data.
My problem is that i cant get the data to save to the xml file. Ive got code to do this and to test that this code worked i changed the redirection of the ogone site to the asp file containing the code. The data was saved into the appropriate xml file, hence code works.
The code is a simple function between <% %> tags.
I tried to redirect from here to the ogone paysite but instead of seeing the appropriate screen, it came back with a 'payment details invalid' string and nothing else.
Using the default 'action' which directs the user to the paysite i get the correct site with all the bits needed.
I tried something else as well, I put the function code into the asp file itself rather than in a separate asp file but i cant figure out how to validate the user info (which is written in javascript) and then call the function to save the data, then redirect the user to the paysite.
Anybody know???
I'm desperate. Any help would be most appreciated.