If this is your first visit, check our documentation. To post, register or login.
Forums / PayPal Website Payments Pro support / 'ENABLE_SSL', 'false' = No Show on all HTTPS site

'ENABLE_SSL', 'false' = No Show on all HTTPS site

Started by lindasdd on 13 Aug 2018, 1:55 PM · Views: 10,632

Results 1 to 2 of 2
13 Aug 2018, 1:55 PM
#1
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

'ENABLE_SSL', 'false' = No Show on all HTTPS site

I recently changed one of my sites to all https and set 'ENABLE_SSL' to 'false' to reduce load per instructions elsewhere in the forum.

This caused PayPal Payments Pro to stop appearing on the checkout page.

Solution is of course to change ENABLE_SSL back to true, but figured this should be shared.

13 Aug 2018, 3:09 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: 'ENABLE_SSL', 'false' = No Show on all HTTPS site

lindasdd:

I recently changed one of my sites to all https and set 'ENABLE_SSL' to 'false' to reduce load per instructions elsewhere in the forum.

This caused PayPal Payments Pro to stop appearing on the checkout page.

Solution is of course to change ENABLE_SSL back to true, but figured this should be shared.
Another solution would be to modify the code of the payment module to recognize that connection via https is set by inspecting the HTTP_SERVER define.

Should note that while there was discussion of using false, that the guiding instructions: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart
had been changed back to advocate the use of true because of situations like that and other software using similar restrictive evaluation of only the ENABLE_SSL define.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...