Forums

How to connect to CyberSource Merchant Account gateway

rrose 07 Dec, 2008
Hello,
I am having problems setting up Chronoform to use with my existing CyberSource gateway/Merchant Account. I have installed Joomla 1.5.4 & Chronoforms V3.0 with no problems. I want to submit my form results to a confirmation page so the end user can review the form data they entered, then I want to submit the form data to my gateway and I have to include an addition php file on submit.
Has anyone configured Chronoforms to use with Bank of America - CyberSource payment gateway? If so, could you advise me how to get this working?

thank you for your time.

rrose
GreyHead 07 Dec, 2008
Hi rrose,

You can do the Confirmation page with a two part form. That is one form that displays different content depending on a form value from a hidden field or from the Submit button.

I've no idea what the requirements are for your gateway - have you looked at the Authorise.net plugin here?

Bob
rrose 07 Dec, 2008
Thank you so very much for your quick response!
I have 5 working donation forms on a web site. I just re-programmed this web site into a joomla site. Now I need to get the donation forms working. Prior to joomla, the donation forms worked like this:
The end user filled out the form and then submitted the results to a page that echoed the results, so the end user could review the data they submitted. The form action on this results page then submits to the gateway. The gateway requires me to include a file and pass the form results. The code looks like this:
<?php include("HOP.php"); ?>
<?php echo $amount; ?>
<?php
$amount = $_POST["amount"];
$tribute_firstName = $_POST["tribute_firstName"];
$tribute_lastName = $_POST["tribute_lastName"];
$tribute_type = $_POST["tribute_type"];
$occasion = $_POST["occasion"];
$shipTo_firstName = $_POST["shipTo_firstName"];
$shipTo_lastName = $_POST["shipTo_lastName"];
$shipTo_street1 = $_POST["shipTo_street1"];
$shipTo_street2 = $_POST["shipTo_street2"];
$shipTo_city = $_POST["shipTo_city"];
$shipTo_state = $_POST["shipTo_state"];
$shipTo_postalCode = $_POST["shipTo_postalCode"];
$shipTo_country = $_POST["shipTo_country"];
?>

How can I include the HOP.php page on submission and pass the form results to the gateway?

Thank you.

rrose
Max_admin 08 Dec, 2008
Hi rrose,

is the code above for posting the results to the gateway or getting the results from the gateway ? can I see one of your donation forms code ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 08 Dec, 2008
Hi Max, rrose,

This appears to use the CyberSource Hosted Order Page (HOP) system - docs are here and it looks as though HOP.php contains security keys and the whole form needs to be submitted to the GateWay.

Bob
Max_admin 08 Dec, 2008
Thanks Bob, seems more complicated than others, anyway, I will move this post to the chronoforms forums!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 08 Dec, 2008
Hi Max,

I think it could be done with CURL OK, I didn't spot a GET option at all. But not a two minute job!

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