Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    This is my CS Code Has to be something here right?

    // class constructor
    function CS() {
    global $order;

    $this->code = 'cs';
    $this->title = MODULE_PAYMENT_CS_TEXT_TITLE;
    $this->description = MODULE_PAYMENT_CS_TEXT_DESCRIPTION;
    $this->enabled = ((MODULE_PAYMENT_CS_STATUS == 'True') ? true : false);
    $this->sort_order = MODULE_PAYMENT_CS_SORT_ORDER;

    if ((int)MODULE_PAYMENT_CS_ORDER_STATUS_ID > 0) {
    $this->order_status = MODULE_PAYMENT_CS_ORDER_STATUS_ID;
    }

    if (is_object($order)) $this->update_status();

    $url = explode('/',$_SERVER['PHP_SELF']);
    if( strcmp($url[2],'admin') != 0 ) {
    // Make sure that your HOP.php file is located in your store's root
    // directory, i.e., /store/ or /catalog/ etc.
    //include_once("HOP.php");
    include_once(DIR_FS_CATALOG. DIR_WS_MODULES . 'payment/cybersource/HOP.php');
    }
    // The line below is the production line.
    $this->form_action_url = 'https://orderpage.ic3.com/hop/ProcessOrder.do';

    // The line below is for debugging and doesn't process the order or
    // return a status. It halts on CyberSource's checker script to show you
    // the data being received and if it's valid.
    //$this->form_action_url = 'https://orderpage.ic3.com/hop/CheckOrderData.do';
    }


    // class methods
    function update_status() {
    global $order, $db;

    if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_CS_ZONE > 0) ) {
    $check_flag = false;
    $check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_CS_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
    while (!$check->EOF) {
    if ($check->fields['zone_id'] < 1) {
    $check_flag = true;
    break;
    } elseif ($check->fields['zone_id'] == $order->billing['zone_id']) {
    $check_flag = true;
    break;
    }
    $check->MoveNext();
    }

    if ($check_flag == false) {
    $this->enabled = false;
    }
    }
    }

  2. #12
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    Reinstalled Files... All Is now Okay

  3. #13
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    How can I do this...

    I like it when the Months look like this

    January (1)
    February (2)

  4. #14
    Join Date
    May 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    I have been trying to track an issue down on and off for a long time with no success. Curious if anyone has encountered the issue. If I have javascript turned off in the browser and place an order, the post to cybersource happens but when redirected back to my store for the completion of the order that does not happen. It just halts and doesn't complete the order. I have thought it was a cookie issue but if you have cookies to not be accepted the order process works just fine since it uses the zenid.

    So I am stuck with the issue if javascript is turned off an order doesn't complete. I just haven't been able to determine why this is happening.

    Any ideas would be greatly appreciated.

    Thanks

  5. #15
    Join Date
    Dec 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    I installed the Cybersource Module and folloed the integration methods carefully. Averything seemed to work fine except that cybersource is telling me that I have to modify my Zencart settings so that it is set to process a "Sale" rather than an "authorization". Currently all transactions get sent to Cybersource and are registered in the shopping cart, but we have to log in to Cybersource to approve all transactions each time in order to have them go through. I have looked to see where to adjust for this in the Zencart settings, but am running into dead ends. Can anyone help?

  6. #16
    Join Date
    Aug 2006
    Location
    Kirkland, WA
    Posts
    79
    Plugin Contributions
    2

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    Quote Originally Posted by keywebconcepts View Post
    I installed the Cybersource Module and folloed the integration methods carefully. Averything seemed to work fine except that cybersource is telling me that I have to modify my Zencart settings so that it is set to process a "Sale" rather than an "authorization". Currently all transactions get sent to Cybersource and are registered in the shopping cart, but we have to log in to Cybersource to approve all transactions each time in order to have them go through. I have looked to see where to adjust for this in the Zencart settings, but am running into dead ends. Can anyone help?
    Please refer to the following thread:

    http://www.zen-cart.com/forum/showth...413#post818413

    deBeaujeu

  7. #17
    Join Date
    Jul 2010
    Location
    Battle Ground, WA
    Posts
    273
    Plugin Contributions
    1

    Default Re: CyberSource Payment Module Implementation Guidelines (SOP connection method)

    Quote Originally Posted by deBeaujeu View Post
    Under “Receipt Page”, in the “Receipt Response URL” input box, type:
    https://yoursite/yourstore/cybersource.php?result=true
    (replacing “yoursite” and “yourstore” with proper URL info for your ZC store, if your store is located in the root directory, the “yourstore” field is not present)
    Check the following “This URL is my custom receipt page.” checkbox.

    Under “Decline Page”, in the “Decline Response URL” input box, type:
    https://yoursite/yourstore/cybersource.php?result=false
    (replacing “yoursite” and “yourstore” with proper URL info for your ZC store, if your store is located in the root directory, the “yourstore” field is not present)
    Check the following “This URL is my custom decline page.” checkbox.

    Best of luck,

    deBeaujeu
    Cannot get this to work.
    My website is in the root directory; www.LFSwear.com
    and my cybersource.php is in root, the url I put in cybersource is:
    https://lfswear.com/cybersource.php?result=true
    https://lfswear.com/cybersource.php?result=false

    It says "Server timed out" or "Page not located" or whatever

    If I do this:
    http://lfswear.com/cybersource.php?result=true
    http://lfswear.com/cybersource.php?result=false

    An error comes up "JBossWeb"
    The server encountered an internal error () that prevented it from fulfilling this request.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Cybersource SOP --- invalid merchantID and currency
    By dm03514 in forum Addon Payment Modules
    Replies: 1
    Last Post: 11 Dec 2012, 02:05 AM
  2. AsianPay Payment Module Implementation Problem
    By marijuana in forum Addon Payment Modules
    Replies: 1
    Last Post: 7 Jun 2010, 03:28 PM
  3. Cybersource SOP Gateway Troubles
    By kcnolanjax in forum Addon Payment Modules
    Replies: 1
    Last Post: 11 Jun 2009, 08:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg