Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default How do I get the checkout button to go to httpS//www for secure checkout

    https question

    I switched from oscommerce and on that store, when a user clicked on "checkout" it automatically went to the httpS//www.mydomainname.com and zencart is not doing that. How do you make it go to the secure site for checkout with the www included since that is where the cert is (https doesn't work without the www)?

    I did enable the ssl in the configure.php files.

    Thanks

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    Please post the top 40 or so lines of your configure.php file
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    Ok here are the top of the config files...

    includes/config

    define('HTTP_SERVER', 'http://www.slenderresults.com');
    define('HTTPS_SERVER', 'https://www.slenderresults.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', '/shop/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

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



    admin/includes/config

    define('HTTP_SERVER', 'http://www.slenderresults.com');
    define('HTTPS_SERVER', 'https://www.slenderresults.com');
    define('HTTP_CATALOG_SERVER', 'http://www.slenderresults.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.slenderresults.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'true');

    // 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', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    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', '/home/slender/public_html/shop/admin/');
    define('DIR_FS_CATALOG', '/home/slender/public_html/shop/');

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,725
    Plugin Contributions
    13

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    Change the false to true
    admin/includes/config

    define('HTTP_SERVER', 'http://www.slenderresults.com');
    define('HTTPS_SERVER', 'https://www.slenderresults.com');
    define('HTTP_CATALOG_SERVER', 'http://www.slenderresults.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.slenderresults.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'true');
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    thank you for the quick response, I changed that but it still doesn't switch to the https when you click checkout OR when you click on create account or login.

    If you go to www.slenderresults.com/store (oscommerse version), then add something to the cart and click checkout, or when you click my account, it auto switches to the https.

    If you go to www.slenderresults.com/shop (zencart version), then do the same, it doesn't go to the secure server.

    Is there something else I am missing?

    Thanks,
    Jewel

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,725
    Plugin Contributions
    13

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    May be a hosting setup problem. When you enter the site using www.####, it works until you click on a product. It then reverts and drops the www.

    Entering https://www for the cart shows it's not picking up the files.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    check and see if you have a redirect in the htaccess making everything non www
    Zen cart PCI compliant Hosting

  8. #8
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    No, there is no redirect.

    I also thought it might be something like a hosting problem when I noticed it was going to the files without the www. but then I looked at
    slenderresults.com/store (oscommerce) which is my old store and it does the same thing where all of the clicks go to the file without the www but when you click checkout, it goes to the https/www. same with "my account" - it sends the user to the secure page with https/WWW.

    On slenderresults.com/shop (zencart) - it doesn't do that and I'm completely baffled!

    What now???

  9. #9
    Join Date
    May 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    This works...
    https://www.slenderresults.com/store/ (oscommerce)

    but this doesn't
    https://www.slenderresults.com/shop/ (zencart)

    so I have to assume it is not the server but zencart.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,725
    Plugin Contributions
    13

    Default Re: How do I get the checkout button to go to httpS//www for secure checkout

    You know what assume does....

    If the .htaccess is okay, I'd talk to my host.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 How do I get my checkout to use HTTPS by default
    By anandbir in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 22 Aug 2012, 11:26 PM
  2. checkout button url is http not https
    By roystik in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Aug 2009, 05:31 AM
  3. How do I get the PayPal Express Checkout button to show?
    By majormiles in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 1 Jul 2009, 08:47 AM
  4. Trying to get the PayPal Express Checkout button to show in my sidecart
    By JGraphics in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 21 Dec 2008, 06:50 AM
  5. How to get rid of the yellow "Checkout with PayPal" button?
    By douglerner in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 7 Apr 2007, 03:15 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