Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Posts
    24
    Plugin Contributions
    0

    help question PayPal Pro, SSL and the module that never appears!

    Hi everyone,

    Looking for a few pointer as I'm going round and round in circles. Trying to set up Payment Pro and can't get the install button to appear - keep getting the "ALERT: For security reasons, Installation of this module is disabled until your Admin is configured for SSL."

    1. My provider gives me this notice for secure server...

    We have mapped the URL:-
    https://web230.secure-secure.co.uk/obriendesign.co.uk/ to http://www.obriendesign.co.uk

    2. I set admin configure to:

    define('HTTP_SERVER', 'http://www.obriendesign.co.uk');
    define('HTTPS_SERVER', 'https://web230.secure-secure.co.uk/obriendesign.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.obriendesign.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.obriendesign.co.uk');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'true');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', 'true');

    *Bear in mind I've had loads of combos in there - that's just how it sits currently!

    3. includes configure set to:

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.obriendesign.co.uk');
    define('HTTPS_SERVER', 'https://www.obriendesign.co.uk');

    // 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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/obriendesign.co.uk/');


    Nothing! I'm also getting weird duplicated section of path in the address now which I don't seem to be able to fix - it reads "http://www.obriendesign.co.uk/obriendesign.co.uk/0br1en/modules.php?set=payment" and then of course I get an error message and can't see any modules.

    Any ideas? Normally zen is straight forward but this has me stumped!

    Thanks in advance.

  2. #2
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: PayPal Pro, SSL and the module that never appears!

    This is a change in 1.5. The configure.php file in the admin directory now contains the following note: /**
    * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    That should also include a comment that says that in order to install some modules ALL pages in the admin must be accessed using https. Making the following changes to your admin configure.php should solve the problem

    PHP Code:
    define('HTTP_SERVER''https://www.obriendesign.co.uk');
    define('HTTPS_SERVER''https://web230.secure-secure.co.uk/obriendesign.co.uk');
    define('HTTP_CATALOG_SERVER''https://www.obriendesign.co.uk');
    define('HTTPS_CATALOG_SERVER''https://www.obriendesign.co.uk'); 

  3. #3
    Join Date
    Apr 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: PayPal Pro, SSL and the module that never appears!

    Quote Originally Posted by badarac View Post
    This is a change in 1.5. The configure.php file in the admin directory now contains the following note: /**
    * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    That should also include a comment that says that in order to install some modules ALL pages in the admin must be accessed using https. Making the following changes to your admin configure.php should solve the problem

    PHP Code:
    define('HTTP_SERVER''https://www.obriendesign.co.uk');
    define('HTTPS_SERVER''https://web230.secure-secure.co.uk/obriendesign.co.uk');
    define('HTTP_CATALOG_SERVER''https://www.obriendesign.co.uk');
    define('HTTPS_CATALOG_SERVER''https://www.obriendesign.co.uk'); 
    Dude you rock! Now to get the site filled and sell, sell, sell!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PayPal Pro, SSL and the module that never appears!

    Quote Originally Posted by obrien48 View Post
    2. I set admin configure to:

    define('HTTP_SERVER', 'http://www.obriendesign.co.uk');
    define('HTTPS_SERVER', 'https://web230.secure-secure.co.uk/obriendesign.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.obriendesign.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.obriendesign.co.uk');
    If you read the SSL FAQ again, you'll see that it tells you that for the ADMIN configure.php if you want SSL on everything (which you need for payment modules) then you need to set the HTTP_SERVER to be the same as the HTTPS_SERVER.
    So that means you need this:

    define('HTTP_SERVER', 'https://web230.secure-secure.co.uk/obriendesign.co.uk');
    define('HTTPS_SERVER', 'https://web230.secure-secure.co.uk/obriendesign.co.uk');

    Quote Originally Posted by obrien48 View Post
    3. includes configure set to:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/obriendesign.co.uk/');

    I'm also getting weird duplicated section of path in the address now which I don't seem to be able to fix - it reads "http://www.obriendesign.co.uk/obriendesign.co.uk/
    That duplication is because you've put the URL into both the HTTPS_SERVER and DIR_WS_HTTPS_CATALOG settings, so it's combining them together. Put it in one place OR the other, not both. Best to leave it in the HTTPS_SERVER setting, and set both DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG to just '/'. Same with DIR_WS_ADMIN and DIR_WS_HTTPS_ADMIN in the admin configure.php file.

    In summary, ALL you needed to do in the first place was set HTTPS_SERVER to https://web230.secure-secure.co.uk/obriendesign.co.uk for both the admin and non-admin. And in the admin, also set the same for HTTP_SERVER. Then set the ENABLE_SSL and ENABLE_SSL_ADMIN to true. Everything else could have been left alone.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Paypal Pro and others not listed in Module>payments
    By wagnerguy in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 16 Nov 2014, 08:04 PM
  2. v150 Paypal Website Payment Pro Module not showing without SSL
    By slafrenaye in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 7 Jan 2013, 10:05 PM
  3. The server is redirecting the page in a way that will never complete.
    By Andi98640 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 13 Jul 2011, 11:07 PM
  4. Payment module that is seamless for ZC other than Paypal Pro?
    By GoingGear in forum Addon Payment Modules
    Replies: 3
    Last Post: 5 Dec 2008, 12:55 AM
  5. Free SSL is all that's needed for Google Checkout, and Paypal
    By birdoasis in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Mar 2007, 11:16 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