It's a common requirement for commercial websites to want to link to a payment gateway like 'Authorise.net', or 'PayPal'. The exact way to do this will depend on the gateway specifications but here's a general solution that may give some help.
This code should post some variables to another URL and get you a response. What you do with the response will depend on your particular needs.
For example, the code below could be used in your "On submit after mail" box. It will post a variable called 'subscriber_ip' which the value of the submitter's IP address to an address : http://www.mydomain.com. You will need to work out which variables you need to send.
// Initialise CURL
$ch = curl_init('http://www.mydomain.com');
// Set CURL options
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
"&subscriber_ip=".$_SERVER['REMOTE_ADDR']);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
// Do not return HTTP Headers
curl_setopt($ch, CURLOPT_HEADER ,0);
// Return the contents of the call
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
// Display the results - replace with your processing code
echo $Rec_Data = curl_exec ($ch);
curl_close ($ch);
?>
Note: To use this code you must have the CURL PHP extension on your webserver, this is very commonly installed. See PHPInfo to check.)
If you have any questions you can post to our forums and we will be glad to help ASAP
- Re:cb registration
tullski 20-07-08 14:22 - Re:passing information using multiple forms
admin 20-07-08 14:05 - Re:cb registration
admin 20-07-08 14:00 - Re:validation problem
admin 20-07-08 13:59 - Re:Javascript Problem
admin 20-07-08 13:57 - Re:Can Chronoform do this?
admin 20-07-08 13:55 - Re:Style Css
admin 20-07-08 13:51 - Re:Comparing two form fields in validate
admin 20-07-08 13:44 - Re:Style Css
GreyHead 20-07-08 09:24 - Re:Automatic input of document page tit...
GreyHead 20-07-08 09:20 - Style Css
Kims 20-07-08 08:14 - Re:Automatic input of document page tit...
arvendal 20-07-08 07:56 - cb registration
tullski 20-07-08 07:52 - Re:Automatic input of document page tit...
arvendal 20-07-08 07:50 - Re:Automatic input of document page tit...
arvendal 20-07-08 07:36
Members Login

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com
ChronoForms License
To be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.
From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,
so the license is very simply for the same ChronoForms component without a link, thats all!
This License is for 5 different websites ONLY.
However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.
The license is ONLY 25$ can be bought here : 
Thank you!
ChronoEngine.com Team
