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();
================================
Bookmarks