Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2008
    Posts
    68
    Plugin Contributions
    0

    Default Payment module not the same as it was

    We had our site get hacked a while back. We lost everything and had to start from scratch.

    I just set up the payment modules and now it seems different that before. I have images of "My Card" and not Mastercard, Visa and Discover. Also there are two ads that appear before final checkout that seem to be promoting some service through Visa & Mastercard, they were never there before.

    Can anyone tell me how to remove those "My Card" images and the ads?

    The site is here - http://www.togentertainment.com//ind...eckout_payment

    I am running v1.3.9d

    Thanks in advance

    Jeff

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment module not the same as it was

    First, you need to fix your configure.php file(s) ...

    If you look at your URLs, you will see the double slash in them ...

    The images for the Credit Cards that are supplied with Zen Cart are not the valid credit card images as we do not have the rights to those images and you will need to obtain your own images if you wish to display them ...

    If you want to turn them off, look in the Configuration ... Credit Cards ...
    Credit Card Enabled - Show on Payment
    Show accepted credit cards on Payment page?
    0= off
    1= As Text
    2= As Images

    Note: images and text must be defined in both the database and language file for specific credit card types.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2008
    Posts
    68
    Plugin Contributions
    0

    Default Re: Payment module not the same as it was

    Quote Originally Posted by Ajeh View Post
    First, you need to fix your configure.php file(s) ...

    If you look at your URLs, you will see the double slash in them ...

    The images for the Credit Cards that are supplied with Zen Cart are not the valid credit card images as we do not have the rights to those images and you will need to obtain your own images if you wish to display them ...

    If you want to turn them off, look in the Configuration ... Credit Cards ...
    What is wrong with the configure.php file that is causing this to happen?

    What do I need to fix?

    Jeff

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment module not the same as it was

    You either have double slashes in it or you have trailing slashes ...

    If you could post, from the server, without the username, password and secret admin directory, the files:
    /includes/configure.php
    /admin/includes/configure.php

    we could better tell you what the exact problem(s) are ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2008
    Posts
    68
    Plugin Contributions
    0

    Default Re: Payment module not the same as it was

    Since I am running v1.3.9d and I see the most current version is v1.3.9g, would upgrading fix the problem?

    If the answer is yes, is there anyone for hire that could do the upgrade for me?

    Jeff

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment module not the same as it was

    No, you have a typo in your configure.php file(s) and need to fix that ...

    Download the files with your FTP program and then edit them in a plain TEXT editor ...

    If you are not sure what to do to fix them, then post the files so we can give you a hand in doing this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2008
    Posts
    68
    Plugin Contributions
    0

    Default Re: Payment module not the same as it was

    includes>configure.php


    <?php

    /**

    * dist-configure.php

    *

    * @package Configuration Settings

    * @copyright Copyright 2003-2007 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $

    * @private

    */

    // Define the webserver and path parameters

    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com

    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com

    define('HTTP_SERVER', 'http://www.togentertainment.com');

    define('HTTPS_SERVER', 'http://www.togentertainment.com');



    // Use secure webserver for checkout procedure?

    define('ENABLE_SSL', 'false');



    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!



    // * DIR_WS_* = Webserver directories (virtual/URL)

    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)

    define('DIR_WS_CATALOG', '//');

    define('DIR_WS_HTTPS_CATALOG', '//');



    define('DIR_WS_IMAGES', 'images/');

    define('DIR_WS_INCLUDES', 'includes/');

    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', DIR_WS_CATALOG . 'pub/');

    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');



    define('DIR_WS_PHPBB', '/phpBB2/');



    // * DIR_FS_* = Filesystem directories (local/physical)

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

    define('DIR_FS_CATALOG', '/home2/togenter/public_html/');



    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');

    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);

    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');



    // define our database connection

    define('DB_TYPE', 'mysql');

    define('DB_PREFIX', 'dntw_'); // prefix for database table names -- preferred to be left empty

    define('DB_SERVER', 'localhost');

    define('DB_SERVER_USERNAME', 'Edited_Out');

    define('DB_SERVER_PASSWORD', 'Edited_Out');

    define('DB_DATABASE', 'Edited_Out');

    define('USE_PCONNECT', 'false');

    define('STORE_SESSIONS', 'db');

    // use 'db' for best support, or '' for file-based storage



    // The next 2 "defines" are for SQL cache support.

    // For SQL_CACHE_METHOD, you can select from: none, database, or file

    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache

    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder

    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash

    define('SQL_CACHE_METHOD', 'file');

    define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG.'cache');



    ?>

  8. #8
    Join Date
    Feb 2008
    Posts
    68
    Plugin Contributions
    0

    Default Re: Payment module not the same as it was

    zcadmin>includes>configure.php

    <?php

    /**

    * dist-configure.php

    *

    * @package Configuration Settings

    * @package Admin

    * @copyright Copyright 2003-2007 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $

    * @private

    */



    // Define the webserver and path parameters

    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com

    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com

    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com

    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com

    /*

    * URL's for your site will be built via:

    * HTTP_SERVER plus DIR_WS_ADMIN or

    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or

    * HTTP_SERVER plus DIR_WS_CATALOG or

    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG

    * ...depending on your system configuration settings

    *

    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:

    */

    define('HTTP_SERVER', 'http://www.togentertainment.com');

    define('HTTPS_SERVER', 'http://www.togentertainment.com');

    define('HTTP_CATALOG_SERVER', 'http://www.togentertainment.com');

    define('HTTPS_CATALOG_SERVER', 'http://www.togentertainment.com');



    // secure webserver for catalog module and/or admin areas?

    define('ENABLE_SSL_CATALOG', 'false');

    define('ENABLE_SSL_ADMIN', 'false');



    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!



    // * DIR_WS_* = Webserver directories (virtual/URL)

    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)

    define('DIR_WS_ADMIN', '//zcadmin/');

    define('DIR_WS_CATALOG', '//');

    define('DIR_WS_HTTPS_ADMIN', '//zcadmin/');

    define('DIR_WS_HTTPS_CATALOG', '//');



    define('DIR_WS_IMAGES', 'images/');

    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');

    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');

    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', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');



    // * DIR_FS_* = Filesystem directories (local/physical)

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

    define('DIR_FS_ADMIN', '/home2/togenter/public_html/zcadmin/');

    define('DIR_FS_CATALOG', '/home2/togenter/public_html/');



    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_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');

    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



    // define our database connection

    define('DB_TYPE', 'mysql');

    define('DB_PREFIX', 'dntw_');

    define('DB_SERVER', 'localhost');

    define('DB_SERVER_USERNAME', 'EDITED OUT');

    define('DB_SERVER_PASSWORD', 'EDITED OUT');

    define('DB_DATABASE', 'EDITED OUT');

    define('USE_PCONNECT', 'false');

    define('STORE_SESSIONS', 'db');

    // use 'db' for best support, or '' for file-based storage



    // The next 2 "defines" are for SQL cache support.

    // For SQL_CACHE_METHOD, you can select from: none, database, or file

    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache

    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder

    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash

    define('SQL_CACHE_METHOD', 'file');

    define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG.'cache');



    ?>

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Payment module not the same as it was

    These need fixing:
    Code:
    define('DIR_WS_CATALOG', '//');
    define('DIR_WS_HTTPS_CATALOG', '//');
    They should be:
    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    And these need fixing:
    Code:
    define('DIR_WS_ADMIN', '//zcadmin/');
    define('DIR_WS_CATALOG', '//');
    define('DIR_WS_HTTPS_ADMIN', '//zcadmin/');
    define('DIR_WS_HTTPS_CATALOG', '//');
    They should be:
    Code:
    define('DIR_WS_ADMIN', '/zcadmin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/zcadmin/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Those should get rid of the double slashes ...

    NOTE: if your files have permissions of 444 you will need to set them to 644 before loading the changed files via FTP ... then, after you can change them back to 444 via your Control Panel for your domain in the File Manager ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 GV can be activated, even though the payment of the order was not successful
    By kalastaja in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 2 Mar 2013, 03:46 PM
  2. v151 Can not remove or edit the payment module?
    By nzjefflin in forum Basic Configuration
    Replies: 6
    Last Post: 10 Jan 2013, 11:32 PM
  3. Setcom Payment module not showing up on the Payment page
    By SoftDux in forum Addon Payment Modules
    Replies: 7
    Last Post: 15 Jul 2009, 01:08 PM
  4. Payment module not completely seen in admin on the screen
    By sanat in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 11 May 2007, 09:15 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR