Remote submit and still saving form data before submitting

AnrietteC 09 Apr, 2014
Hi there

At the moment I'm using Chronoforms to take a user through multiple steps and in the end submit to a remote payment gateway. How can I submit all the required values I have as hidden inputs in my form to this remote URL and redirect to that payment gateway and still save data consistently. The payment gateway is a South African payment gateway called Payfast.

I have tried with jQuery to render a background
$.ajax()
request to submit the form, but it is not working consistently for all browsers. Some users are just not getting redirected to the PG's side.

Thanks in advance. Any and all help appreciated.

Posted at 11.55PM SAST. So will reply in about 8 hours' time if anybody is gracious enough to spare me an answer.
GreyHead 10 Apr, 2014
Hi AnrietteC,

If the gateway will accept a GET transfer then you can use the ReDirect URL and ReDirect User actions; if they require POST then you can create a 'Confirmation Page' form with the data in hidden inputs that will submit to the Gateway.

There are several example of both methods in the FAQs and forums.

Bob
AnrietteC 11 Apr, 2014
Thank you Greyhead!

I will investigate this option. Will get back to you ASAP regarding the status.

Thanks for Chronoforms though, it really is awesome!
This topic is locked and no more replies can be posted.