-
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)
2) Here is a clip from the following files:
FROM "{my admin folder}/includes/configure.php"
Code:
/**
* 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"
Code:
// 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!
-
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.
-
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?
-
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)
-
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?
-
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...
-
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...
-
Re: PayPal Website Payments Pro still asking for SSL...
Quote:
Originally Posted by
easyjtm
When diagnosing these types of problems, just remember to check with your hosting company too...
Good advice :)
Also, in response to your questions..
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
easyjtm
2) 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]
Quote:
Originally Posted by
easyjtm
3) 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)
Quote:
Originally Posted by
easyjtm
4) 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
-
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
-
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.
-
Re: PayPal Website Payments Pro still asking for SSL...
zencart/admin/includes/configure.php(not actual admin name due to security reasons)
Code:
/**
* 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
Code:
// 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??
-
Re: PayPal Website Payments Pro still asking for SSL...
Quote:
Originally Posted by
destroyed22
did I miss something??
Yes. Note the highlights from the admin configure.php file you quoted, below:
Quote:
Originally Posted by
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', 'https://www.theeroticshop.net');
Your non-admin configure.php file is fine.
-
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:
-
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
-
Re: PayPal Website Payments Pro still asking for SSL...
Quote:
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.
-
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.
-
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.
-
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!
-
Re: PayPal Website Payments Pro still asking for SSL...
Quote:
Originally Posted by
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.
-
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?
-
Re: PayPal Website Payments Pro still asking for SSL...
you need to set both your admin urls to ssl in the /(admin)/includes/configure.php that will take care of the session problem
-
Re: PayPal Website Payments Pro still asking for SSL...
I ended up going to another hosting that had dedicated ssl so that took care of the log in problem but I am still getting a message in admin when I try to set up paypal pro saying
ALERT: For security reasons, Installation of this module is disabled until your Admin is configured for SSL.
I have ssl configured and working. I have Paypal Express Checkout set up. It says processing. I am in my admin at the https location but still unable to install payments pro
-
Re: PayPal Website Payments Pro still asking for SSL...
As the all the posts shown here before yours have said, you need to make a small edit to your YOUR_ADMIN/includes/configure.php file, and copy the HTTPS_SERVER definition into your HTTP_SERVER definition, so that both are the same.
ie:
define('HTTP_SERVER', 'https://www.example.com');
define('HTTPS_SERVER', 'https://www.example.com');
Don't do the same to your non-admin configure.php. This is only necessary on the admin side.
Is that clear yet?
-
Re: PayPal Website Payments Pro still asking for SSL...
Thank you, that resolved the issue on my one site. On my other site I have a shared ssl, is it possible to use that I do I have to have a private ssl for it to work
-
Re: PayPal Website Payments Pro still asking for SSL...
Same principle applies for shared SSL. Copy the defined value from HTTPS_SERVER to HTTP_SERVER, in the admin configure.php file only.
-
Re: PayPal Website Payments Pro still asking for SSL...