Forums

Use form for payment & to email data

ktsixit 28 May, 2010
Hello,
I'd like to ask a question about the use of my form.
I'd like to use my form both
1) to email the inserted data to an email address
2) to submit some hidden fields to my payment gateway

So if I insert a url in the "Submit URL" field, and have the "Email the results" field set to "Yes", will that work ok?
I'm preety confused about this issue.

I have also read some things about the Redirect plugin, but I'm not sure if this the right for me. (The problem in this case that I don't want to send all form's values to the redirect url.)
GreyHead 28 May, 2010
Hi ktsixit,

So if I insert a url in the "Submit URL" field, and have the "Email the results" field set to "Yes", will that work ok?

No, that won't work. If you use the Submit URL field then ChronoForms never sees the form results and cannot save data to the database or send emails.

You need either the ReDirect Plugin (if you need to send the User to the Gateway); or the cURL plugin if you only need to send the data.

Bob
ktsixit 28 May, 2010
Thank you for your answer🙂

So the difference between Redirect and CURL is that: Redirect sends user to another website and CURL sends his data to another website without leaving the current website?
GreyHead 28 May, 2010
Hi ktsixit,

Basically, Yes.

Bob
This topic is locked and no more replies can be posted.