Can you use Authorize.net with Chrono?

AnyTime 30 Nov, 2007
Is there a way to use Authorize.net to pass a payment and registration, the same way as the paypal option that is sticky?
GreyHead 30 Nov, 2007
Hi AnyTime,

I imagine that this is possible but probably not straightforward - that is it will require some special coding. I don't have Authorize.net or know their requirements.

In the present versions ChronoForms is not well suited to use in work-flows that have multiple steps. It's great at showing the form and emailing and/or saving the data.

Bob
Max_admin 30 Nov, 2007
Hi Anytime,

It depends on how authorize.net deals with the process, if you like to post some data to them while staying on the site then this is possible if you have CURL installed with your PHP on the server (95% this is the case), if you think this may help then please let me know and I will post a simple code for you to start!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
AnyTime 30 Nov, 2007
That would be lovely..
THanks in advance..
Max_admin 01 Dec, 2007
Hi AnyTime, this code should post some variables to another URL and get you the response, It depends on your scenario :


 $ch = curl_init('http://www.mydomain.com');
 curl_setopt ($ch, CURLOPT_POST, 1);
 curl_setopt ($ch, CURLOPT_POSTFIELDS, "&subscriber_ip=".$_SERVER['REMOTE_ADDR']);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1); 
 curl_setopt($ch, CURLOPT_HEADER      ,0);  // DO NOT RETURN HTTP HEADERS 
 curl_setopt($ch, CURLOPT_RETURNTRANSFER  ,1);  // RETURN THE CONTENTS OF THE CALL
  echo $Rec_Data = curl_exec ($ch);
 curl_close ($ch);


for example, teh code above will be used in your "On submit after mail" box, it will post a variable called : subscriber_ip with the value of the IP address to an address : http://www.mydomain.com

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger