Forums / PayPal Website Payments Pro support / PayPal Website Payments Pro still asking for SSL...

PayPal Website Payments Pro still asking for SSL...

Views: 14,491

Results 1 to 20 of 26
1 Mar 2012, 7:02 PM
#1
easyjtm avatar

easyjtm

New Zenner

Join Date:
Mar 2012
Posts:
5
Plugin Contributions:
0

PayPal Website Payments Pro still asking for SSL...

I have read what I think is all the info on this topic on this forum, but my problem has not been solved by any of it...

Basically, I'm trying to install the PayPal Website Payments Pro Module, but I am unable to get past the point where it keeps giving me this message: "ALERT: For security reasons, Installation of this module is disabled until your Admin is configured for SSL."

Using Zen-Cart Version: 1.5.0
Installed manually and looking/working fine (x-cept this)

Here is what I've done:

  1. SSL Is working on my site... check it out: https://www.the-computer-tutor.info

  2. I renamed the "admin" folder to [something else] (I don't want to say publicly, but I followed all instructions exactly)

  3. Here is a clip from the following files:

    FROM "{my admin folder}/includes/configure.php"

/**
 * 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:
 */
  define('HTTP_SERVER', 'https://www.the-computer-tutor.info');
  define('HTTPS_SERVER', 'https://www.the-computer-tutor.info');
  define('HTTP_CATALOG_SERVER', 'https://www.the-computer-tutor.info');
  define('HTTPS_CATALOG_SERVER', 'https://www.the-computer-tutor.info');

  // 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');
 FROM "includes/configure.php"
// 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', 'https://www.the-computer-tutor.info');
  define('HTTPS_SERVER', 'https://www.the-computer-tutor.info');

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

I am at wits end! I have been trying different options for 3 hours now! As you can see above, I even changed all of the URLs to be "https" instead of just "http" for some... at this point I have NO IDEA, why I can't install PayPal WPP...

PLEASE HELP.

-Josh

PS.

a) Express Checkout is enabled
b) My PayPal Account is working fine- Pro Account
c) Permissions on both configure.php files are set to 777, but I have set to "read-only" too... still won't let me install PPWPP!
d) SSL is "active" on hosting account (as you can see above)

PLEASE HELP!

1 Mar 2012, 8:49 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Website Payments Pro still asking for SSL...

Sounds like the changes to your admin-side configure.php file did NOT actually save to the server.

Remember, anytime you edit your configure.php files, you need to first make them writable, then upload your changes, and then make them read-only again.
As long as they're read-only, any changes you make won't save.

.
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.

1 Mar 2012, 9:23 PM
#3
easyjtm avatar

easyjtm

New Zenner

Join Date:
Mar 2012
Posts:
5
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

I did this. I logged in, then changed the permissions to "777". Then, I made the mods... saved the file. Then I changed the permissions back to "read-only"...

Is there any setting in the control panel that I may be missing? Perhaps anything to do with the fact that my domain is .info instead of .net or .com?

1 Mar 2012, 9:43 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Website Payments Pro still asking for SSL...

The payment module will ONLY trigger the "this module is disabled until your Admin is configured for SSL" message when the HTTP_SERVER and HTTPS_SERVER do not contain an https address and ENABLE_SSL_ADMIN is not set to 'true'.

It has nothing to do with the NON-ADMIN version of configure.php (so put the HTTP_SERVER for that file back to an http:// address)

.
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.

1 Mar 2012, 11:35 PM
#5
easyjtm avatar

easyjtm

New Zenner

Join Date:
Mar 2012
Posts:
5
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

Nothing seems to be working... I know that the changes are saving because I get a confirmed message and I look at the last edited column and it indicates time/date of when I saved it. Are there any more possibilities of why this module is not letting me install?

1 Mar 2012, 11:53 PM
#6
easyjtm avatar

easyjtm

New Zenner

Join Date:
Mar 2012
Posts:
5
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

Here's some ideas that I came up with that may be the source of the problem:

  1. Do the hyphens in my domain name cause a problem? (I saw something that replaces "-" with another character)
  2. Does the "//" in the domain name create a problem? (I know that "//" is for comments in php)
  3. Are the items ENABLE_SSL_ADMIN and ENABLE_SSL_CATALOG mentioned anywhere else? (can't find them anywhere else)
  4. Did I accidentally change a setting in the admin panel? (I seem to remember something in the admin panel about SSL)

I really really really NEED to get past this. Thanks anyone for any help you can offer...

2 Mar 2012, 2:09 AM
#7
easyjtm avatar

easyjtm

New Zenner

Join Date:
Mar 2012
Posts:
5
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

OK, sorry to keep posting...

I figured out what the problem was. It had to do with my hosting account. There is an app called "Fix Cache Key" that could help diagnose if your host is using cached version of your site rather than the updated/changed version.

When diagnosing these types of problems, just remember to check with your hosting company too...

2 Mar 2012, 2:25 PM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: PayPal Website Payments Pro still asking for SSL...

easyjtm:

When diagnosing these types of problems, just remember to check with your hosting company too...

Good advice :)

Also, in response to your questions..

easyjtm:

  1. Do the hyphens in my domain name cause a problem? (I saw something that replaces "-" with another character)

If it does, then something is wrong with the script. This would/should almost never happen.

easyjtm:

  1. Does the "//" in the domain name create a problem? (I know that "//" is for comments in php)

Domain names will never contain these characters..
From wikipedia:
DNS names may technically consist of any character representable in an octet. However, the allowed formulation of domain names in the DNS root zone, and most other sub domains, uses a preferred format and character set. The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen. This rule is known as the LDH rule (letters, digits, hyphen). Domain names are interpreted in case-independent manner.[11] Labels may not start or end with a hyphen.[12]

easyjtm:

  1. Are the items ENABLE_SSL_ADMIN and ENABLE_SSL_CATALOG mentioned anywhere else? (can't find them anywhere else)

"Anywhere else" assumes that we know which reference you are currently referring too. :smile:
Things in all UPPERCASE are known as 'Constants", and the easiest way to find where they are used is to use Zencarts Developers Toolkit (located in the "Tools" menu)

easyjtm:

  1. Did I accidentally change a setting in the admin panel?

If a tree falls in the forest and no-one is there to witness it, did it really fall? We cannot know what you may have done by accident, we weren't there to see it :smile:

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

31 Mar 2012, 12:07 AM
#9
destroyed22 avatar

destroyed22

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

I am actually having the same problem, I have triple checked both files and all the settings are correct to the settings :censored:, I am not showing anything out of the ordinary, the ssl is working perfectly fine with the website. but I am also getting the same error and it will not change... any help would be greatly be helpful

31 Mar 2012, 12:29 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Website Payments Pro still asking for SSL...

The ONLY control Zen Cart looks at for it is that the HTTP_SERVER and ENABLE_SSL_ADMIN are properly set.
So, that tells me that your admin configure.php file ON THE SERVER hasn't been set properly for the situation you seek.

.
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.

31 Mar 2012, 1:44 AM
#11
destroyed22 avatar

destroyed22

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

zencart/admin/includes/configure.php(not actual admin name due to security reasons)

/**
 * 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:
 */
  define('HTTP_SERVER', 'http://www.theeroticshop.net');
  define('HTTPS_SERVER', 'https://www.theeroticshop.net');
  define('HTTP_CATALOG_SERVER', 'http://www.theeroticshop.net');
  define('HTTPS_CATALOG_SERVER', 'https://www.theeroticshop.net');

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

zencart/includes/configure.php

// 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.theeroticshop.net');
  define('HTTPS_SERVER', 'https://www.theeroticshop.net');

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

did I miss something??

31 Mar 2012, 1:57 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Website Payments Pro still asking for SSL...

destroyed22:

did I miss something??
Yes. Note the highlights from the admin configure.php file you quoted, below:> destroyed22:

/**

  • 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:
    /
    define('HTTP_SERVER', 'http
    *s**://www.theeroticshop.net');
    Your non-admin configure.php file is fine.

.
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.

31 Mar 2012, 2:18 AM
#13
destroyed22 avatar

destroyed22

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

my god, your a life saver thank you!, I thought I had the settings all correct and read everything carefully.... but I guess I missed something... thank you so much :clap::clap::clap:

4 Jun 2012, 11:50 PM
#14
debbers avatar

debbers

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

This was driving me batty, too! And it was the https in the HTTP_SERVER setting that I had overlooked EVERY time.

Thank you so much for this thread and the patient answers.

deb

27 Aug 2012, 4:08 PM
#15
zjoel712x avatar

zjoel712x

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

define('HTTP_SERVER', 'http://www.theeroticshop.net');
define('HTTPS_SERVER', 'https://www.theeroticshop.net');
define('HTTP_CATALOG_SERVER', 'http://www.theeroticshop.net');
define('HTTPS_CATALOG_SERVER', 'https://www.theeroticshop.net');"

This used to work in the version 1.3 series.
It is a change in the 1.5 version that requires the 'HTTP_SERVER' to be 'https' for payment modules.

21 Dec 2012, 1:23 PM
#16
miff avatar

miff

Zen Follower

Join Date:
Sep 2010
Location:
Stoke-on-Trent, Staffordshire. UK
Posts:
131
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

Same thing got me too. So I gues il just use a full ssl admin from now on. Perhaps the wiki page that the message links too could be slightly edited to inform paypal pro users that this is an essential step.

Visit Andy's Motorcycles
www.andysmotorcycles.com
Motorcycle & Scooter Parts, Spares & accessories

24 Dec 2013, 3:06 PM
#17
slavka001 avatar

slavka001

New Zenner

Join Date:
Aug 2007
Posts:
14
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

Wow, this is retarded i might say. I was staring at the code for 3 hours until I found that HELPFULL post.

Somebody seriously think admins are going to read comments? Come on. I would have to spend 10 year extra of my life if I would start reading comments on every code page I open.

I wish there were EXAMPLES in the code for HTTPS. that way anybody could quickly catch that HTTPS and HTTP servers both use httpS.

Anyway, thanks a lot for the answer. It saved me extra 10 hours I would spend on debugging the entire shopping cart. I already spent 5 hours yesterday figuring out why 2CO modules are not properly removed upon uninstall.

19 Aug 2014, 11:04 PM
#18
itcetera avatar

itcetera

New Zenner

Join Date:
Nov 2010
Location:
Spokane Wa
Posts:
79
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

Hello I am using zencart ver151.1. I am having the same problem as the other folks . I tried the solution
easyjtm used, ran the fix_cache_key app it did find a difference and synced them. However Paypal Pro still shows ssl not enabled, which it is. Is there anyplace in the code or in the data base to manually trigger paypal pro to accept the current ssl. would rebooting the server help. any help you can offer would be much appreciated. Website is http://theelectricaldepot.com Please disregard this post! after carefully reading the post I found the problem needing to change both server entry's to https. sorry for the post!

19 Aug 2014, 11:09 PM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PayPal Website Payments Pro still asking for SSL...

itcetera:

Hello I am using zencart ver151.1. I am having the same problem as the other folks . I tried the solution
easyjtm used, ran the fix_cache_key app it did find a difference and synced them. However Paypal Pro still shows ssl not enabled, which it is. Is there anyplace in the code or in the data base to manually trigger paypal pro to accept the current ssl. would rebooting the server help. any help you can offer would be much appreciated. Website is http://theelectricaldepot.com
You must not have updated the /your_renamed_admin_folder/includes/configure.php to change the HTTP_SERVER define to a URL starting with https://
Remember, if the file on the server has been marked read-only, any changes you attempt to save to it will not save.

.
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.

20 Feb 2015, 10:20 AM
#20
mark8261 avatar

mark8261

New Zenner

Join Date:
Dec 2007
Posts:
18
Plugin Contributions:
0

Re: PayPal Website Payments Pro still asking for SSL...

I don't know if this is asked anywhere but I am also not able to install paypal payments pro. I have a shared ssl that came with my hosting package and the module says that I need to set up ssl before installing. I have the files correct and accessing my admin area through the new secure link. The other issue is every time I click on something in my admin area I have to log back in, regardless of time. If this is answered somewhere please direct me to its location. Can you set up payments pro with a shared ssl?