Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Help needed: Linkpoint Payment Mod Not posting data

This is a discussion on Help needed: Linkpoint Payment Mod Not posting data within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi, I have been working on getting this mod working for the final release of osCMax 2, but I seem ...

      
  1. #1
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Help needed: Linkpoint Payment Mod Not posting data

    Hi,

    I have been working on getting this mod working for the final release of osCMax 2, but I seem to have hit a wall.

    Please see this bug report:
    http://bugtrack.oscmax.com/view.php?id=10

    I am asking for confirmation of this bug and assistance in tracking it down. I know there are a lot of folks who use Linkpoint, so this will be a nice addition to the osCMax package.

    I think part of the problem is that I may have used the wrong version of the mod. Any suggestions or help is most appreciated.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    50
    Rep Power
    0


    Default

    I use linkpoint, and I can try to help you out. I'll enable it and see what happens.

  3. #3
    Member
    Join Date
    Jun 2005
    Posts
    50
    Rep Power
    0


    Default

    Well, I started playing around, and now I'm stuck.

    I added a product to my store, then decided while I'm checking out the linkpoint issue, I'll get the SSL up and running. So, I've been playing with the configure.php on the cat side. Now, I get a 64 error (Host not available) for the catalog/index.php.

    The admin side comes up fine - any idea's on what to check?

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    50
    Rep Power
    0


    Default

    BTW, here's the configure.php from the cat side:

    Code:
    <?php
    /*
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
    
      Copyright (c) 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://mall.driwashnguard.biz'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://driwashnguard.biz/mall'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', true); // secure webserver for checkout procedure?
      define('HTTP_COOKIE_DOMAIN', 'driwashnguard.biz/mall');
      define('HTTPS_COOKIE_DOMAIN', 'driwashnguard.biz/mall');
      define('HTTP_COOKIE_PATH', '/catalog/');
      define('HTTPS_COOKIE_PATH', '/catalog/');
      define('DIR_WS_HTTP_CATALOG', '/catalog/');
      define('DIR_WS_HTTPS_CATALOG', '/catalog/');
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    
      define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
      define('DIR_FS_CATALOG', '/home/sgmaster/public_html/mall/catalog/');
      define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    50
    Rep Power
    0


    Default

    OK, did a reinstall and setup without SSL in order to test linkpoint contrib.

    using valid cc data (4111111111111111) and a exp date in the future, once I click contiinue on the payment page I get this:

    Code:
    Warning: Missing argument 4 for validate() in /home/sgmaster/public_html/mall/catalog/includes/classes/cc_validation.php on line 16
    
    Warning: Missing argument 5 for validate() in /home/sgmaster/public_html/mall/catalog/includes/classes/cc_validation.php on line 16
    also, in the shipping address area:

    Code:
    Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sgmaster/public_html/mall/catalog/includes/functions/general.php on line 42
    
    Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sgmaster/public_html/mall/catalog/includes/functions/general.php on line 42
    After clicking the confirm button, I get unceremoniously returned to the payment page like I used to get in my MS2 store, without any error information.

  6. #6
    osCMax Testing Team
    Join Date
    Nov 2004
    Posts
    4
    Rep Power
    0


    Default

    Or,
    open the file catalog/includes/modules/payment/linkpointms1.php
    replace line no 104
    $result = $cc_validation->validate($HTTP_POST_VARS['cc_number'], $HTTP_POST_VARS['cc_expires_month'], $HTTP_POST_VARS['cc_expires_year']);
    with
    $result = $cc_validation->validate($HTTP_POST_VARS['cc_number'], $HTTP_POST_VARS['cc_expires_month'], $HTTP_POST_VARS['cc_expires_year'], $HTTP_POST_VARS['cc_checkcode'], $HTTP_POST_VARS['cc_card_type']);

    It worked for me

  7. #7
    New Member
    Join Date
    Oct 2005
    Location
    Khokolate City
    Posts
    27
    Rep Power
    0


    Default

    I get this same error with my 2Checkout Module
    Code:
    Warning: Missing argument 5 for cc_validation::validate() in 
    /home/xxxxx/public_html/includes/classes/cc_validation.php on line 17

  8. #8
    New Member
    Join Date
    Oct 2005
    Location
    Khokolate City
    Posts
    27
    Rep Power
    0


    Default

    I really need to resolve this issye anyone got a fix.

  9. #9
    New Member
    Join Date
    Jun 2004
    Posts
    15
    Rep Power
    0


    Default

    I'm having the same problem as driwashsolutions. Does this module actually work?

  10. #10
    Lurker beautyqueen's Avatar
    Join Date
    Dec 2005
    Posts
    2
    Rep Power
    0


    Default

    I have Linkpoint and I will have a clean site here in a few.. Should I wait to put LInkpoint on it till this
    bug is fixed? Can I still use Paypal?

Page 1 of 2 12 LastLast

Similar Threads

  1. Advice needed please? Payment options
    By daffodil in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-22-2006, 12:22 PM
  2. Help needed with Payment module code - Camtech
    By emagineitdev in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 08-03-2006, 04:02 AM
  3. PayPal - Payment Data Transfer?
    By haircrazy in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 01-08-2005, 08:43 AM
  4. How do I import data from previous version data base?
    By rondgray in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-19-2004, 12:24 AM

Bookmarks

Posting Permissions

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