Jump to content

mcki0127

Members
  • Content count

    24
  • Joined

  • Last visited

Posts posted by mcki0127


  1. I will be operating several stores on my website. Each store will be owned by a different person. As payment for hosting and maintaining the stores and I would like to recieve a small percentage of each sale. I'm hoping to develop a Paypal payment module that will allow me to set the percentage, and divide payment between two accounts. It should be invisible to the customer. I realize this is a massive undertaking should I have to do it myslef. Does anyone know of an existing module, or have any hints or tips for me?

     

    Thanks,

    Steve


  2. Well, I've managed to screw my admin configure file up enough so that I get a 404 error if I try to click on any link on the admin/index page. Help??

     

    <?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://www.storesnsuch.com/norskknits/'); // eg, http://localhost - should not be empty for productive servers
     define('HTTP_CATALOG_SERVER', 'http://www.storesnsuch.com/norskknits/');
     define('HTTPS_CATALOG_SERVER', '');
     define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
     define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/norskknits/'); // where the pages are located on the server
     define('DIR_WS_ADMIN', '/norskknits/admin/'); // absolute path required
     define('DIR_FS_ADMIN', '/var/www/html/norskknits/admin'); // absolute pate required
     define('DIR_WS_CATALOG', '/norskknits/'); // absolute path required
     define('DIR_FS_CATALOG', '/var/www/html/norskknits/'); // absolute path required
     define('DIR_WS_IMAGES', 'images/');
     define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
     define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
     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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
     define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
     define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
     define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
     define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    
    // define our database connection
     define('DB_SERVER', 'www.storesnsuch.com'); // eg, localhost - should not be empty for productive servers
     define('DB_SERVER_USERNAME', 'xxxxxx');
     define('DB_SERVER_PASSWORD', 'xxxxxx');
     define('DB_DATABASE', 'xxxxxx');
     define('USE_PCONNECT', 'false'); // use persisstent connections?
     define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>


  3. I can't get the payment modules to show up in Admin. The only thing that shows is Module Directory: includes/modules/payment/ and the install button.

     

    I log into phpMyAdmin and go to the configuration table. Under the MODULE_PAYMENT_INSTALLED field, the configuration_value is blank. It should contain a list of the payment modules, separated by a semicolon. The payment module files do exist in the correct directory. I manually enter paypal.php and save it. However, if I log out of phpMyAdmin and log back in again, the configuration_value is blank again, and the module never shows up in the store admin. This is perplexing. I'm not sure if I'm having osc problems or MySQL problems. The same thing is happening with the shipping and order total modules.

     

    I haven't installed any contribs. Could it be a problem with one of my configuration files?

     

    Any help is appreciated.

     

    Steve

×