Zen Cart Logo
Forums / Addon Payment Modules / DPS payment gateway

DPS payment gateway

Locked

Views: 2,325

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Oct 2006, 11:42 PM
#1
cjmarley avatar

cjmarley

Zen Follower

Join Date:
May 2004
Posts:
96
Plugin Contributions:
2

DPS payment gateway

Howdy folks,

I got the DPS module that was previously mentioned working, however, now the problem I am experiencing is that DPS apparently told this customer that using CURL is insecure and wants the module changed to not use it. I was given the following test script, but I'm just not seeing how I can change it to work with the Zen-Cart. Has anyone else had this happen to them and have you found a way to fix it?

Test.php script:

ob_start();

// Base config
include "/home/globenet/common/classes/base.class.php";
$obj_base = new base();
$obj_base->set_debug(1);
$session_required = 0; $secure_required = 1;
$obj_base->javascript_load("cc_waitforprocessing");
include_once $obj_base->dirstep."common/includes/header.inc";

// ---------- End of Header Stuff ---------- //

include_once $obj_base->dirstep."common/classes/creditcard.class.php";
$obj_cc = new creditcard();

$obj_cc->set_ccnumber("4367730190123456");
$obj_cc->set_ccexpiry("0610");
$obj_cc->set_ccholder("Berticus");
$obj_cc->set_cctype("Visa");
$obj_cc->set_cvc2($cvc2);
$obj_cc->set_what_we_be_doing("AH");
$obj_cc->set_amount("25");
$obj_cc->set_termsconditions($termsconditions);

?>

<div id="prepage"><p>Checking your card details with the card provider... this may take a few moments.</p> <p><b>Please Wait...</b></p></div> <? ob_flush(); flush();

$obj_cc->process_card();
$obj_cc->interpret_reply();

include $obj_base->dirstep."common/includes/footer.inc";

ob_end_flush();

28 Oct 2006, 4:11 AM
#2
cjmarley avatar

cjmarley

Zen Follower

Join Date:
May 2004
Posts:
96
Plugin Contributions:
2

Re: DPS payment gateway

does anyone have any experience with this issue?