If this is your first visit, check our documentation. To post, register or login.
Forums / PayPal Website Payments Pro support / Credit Card payment method option doesn't show

Credit Card payment method option doesn't show

Started by shags38 on 4 Aug 2017, 5:27 AM · Views: 5,839

Results 1 to 11 of 11
4 Aug 2017, 5:27 AM
#1
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Credit Card payment method option doesn't show

5 of 6 sites all v1.5.1 have Pro working fine but on this site https://www.harmonyball.net.au, it isn't showing credit card payment option, whether standard ZC checkout system or OPC selected.

I recently installed one page checkout plugin (OPC) to all these sites - please refer to this OPC thread https://www.zen-cart.com/showthread.php?220781-One-Page-Checkout-Support-Thread/page54 (plus following 2 pages) where lat9 has been trying to help me sort out the issue of the one site not showing credit card option - it appears it isn't an issue with the plugin hence posting in here as it appears to be a paypal pro issue.

Any assistance would be appreciated.

cheers,
Mike

[Attachment no longer available]

[Attachment no longer available]

4 Aug 2017, 5:56 AM
#2
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

shags38:

5 of 6 sites all v1.5.1 have Pro working fine but on this site https://www.harmonyball.net.au, it isn't showing credit card payment option, whether standard ZC checkout system or OPC selected.

I recently installed one page checkout plugin (OPC) to all these sites - please refer to this OPC thread https://www.zen-cart.com/showthread.php?220781-One-Page-Checkout-Support-Thread/page54 (plus following 2 pages) where lat9 has been trying to help me sort out the issue of the one site not showing credit card option - it appears it isn't an issue with the plugin hence posting in here as it appears to be a paypal pro issue.

Any assistance would be appreciated.

cheers,
Mike

[Attachment no longer available]

[Attachment no longer available]

Hold off responding for a while - received alert that > paypaldp Module disabled because SSL is not enabled on this site.

Double checking with host to see what the issue is.

cheers,
Mike

4 Aug 2017, 6:24 AM
#4
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

mc12345678:

Verify that the following has been followed/applied: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

I have validated that the SSL certificate is in place and working correctly, it can be checked here https://www.sslshopper.com/ssl-checker.html#hostname=harmonyball.net.au

I am however still getting the error message via email 'paypaldp Module disabled because SSL is not enabled on this site' - so I have no idea what the problem may be.

Looking for some help here.

cheers,
Mike

4 Aug 2017, 6:57 AM
#5
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Credit Card payment method option doesn't show

shags38:

I have validated that the SSL certificate is in place and working correctly, it can be checked here https://www.sslshopper.com/ssl-checker.html#hostname=harmonyball.net.au

I am however still getting the error message via email 'paypaldp Module disabled because SSL is not enabled on this site' - so I have no idea what the problem may be.

Looking for some help here.

cheers,
Mike
Oh yeah, I forgot that there is a set of certificates needed on your server in order for your server to talk with other services with SSL which is independent of the SSL for customers to communicate with your website.

Hmm. There's a couple of threads on the topic and I know there's a few that seem to know the source of the needed files rather quickly.

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

4 Aug 2017, 7:51 AM
#6
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

mc12345678:

Oh yeah, I forgot that there is a set of certificates needed on your server in order for your server to talk with other services with SSL which is independent of the SSL for customers to communicate with your website.

Hmm. There's a couple of threads on the topic and I know there's a few that seem to know the source of the needed files rather quickly.

That will be interesting to ascertain - all my sites are configured the same and use the same type of SSL Certs from the same source and are at the same host - wonder why this one would be getting this error. Do the log files at the OPC thread mentioned in the first post reflect this SSL error?

cheers,
Mike

4 Aug 2017, 8:11 AM
#7
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

This is a response from my host after asking them to compare certificates with another site of mine that does not have this issue

The site harmonyballpendant and harmonyball both have certificates that have the same protocol.

The connection to this site is encrypted and authenticated using a strong protocol (TLS 1.2), a strong key exchange (ECDHE_RSA with P-256), and a strong cipher (AES_128_GCM).

This may be a cached issue or an issue with the module. Are you able to contact the developers of the module to see if they can notice anything?

4 Aug 2017, 9:50 AM
#8
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

have cleared browser cache and flushed dns to no effect

cheers,
Mike

4 Aug 2017, 12:27 PM
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Credit Card payment method option doesn't show

Mike, is the site that's not working set for "all SSL all the time" using DrByte's recommended:

define('HTTP_SERVER', 'https://www.example.com');
define('HTTPS_SERVER', 'https://www.example.com');
define('ENABLE_SSL', 'false');

If so, you'll need to edit your copy of /includes/modules/payment/paypaldp.php, locating this section:

  /**
   *  Sets payment module status based on zone restrictions etc
   */
  function update_status() {
    global $order, $db;
//    $this->zcLog('update_status', 'Checking whether module should be enabled or not.');
    // if store is not running in SSL, cannot offer credit card module, for PCI reasons
    if (!defined('ENABLE_SSL') || ENABLE_SSL != 'true') {
      $this->enabled = FALSE;
      $this->zcLog('update_status', 'Module disabled because SSL is not enabled on this site.');
    }

and change the highlighted code fragment:

  /**
   *  Sets payment module status based on zone restrictions etc
   */
  function update_status() {
    global $order, $db;
//    $this->zcLog('update_status', 'Checking whether module should be enabled or not.');
    // if store is not running in SSL, cannot offer credit card module, for PCI reasons
    if ([B]strpos(HTTP_SERVER, 'https:') !== 0 || !(defined('ENABLE_SSL') && ENABLE_SSL == 'true')[/B]) {
      $this->enabled = FALSE;
      $this->zcLog('update_status', 'Module disabled because SSL is not enabled on this site.');
    }
4 Aug 2017, 12:30 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Credit Card payment method option doesn't show

shags38:

That will be interesting to ascertain - all my sites are configured the same and use the same type of SSL Certs from the same source and are at the same host - wonder why this one would be getting this error. Do the log files at the OPC thread mentioned in the first post reflect this SSL error?

cheers,
Mike
The SSL issue that appears to be reported does not fall into the SSL cert that you have obtained to support your Web browser communicating with SSL to your site. This was stated before. It appears to be related to your server to communicate to other authorities in a secure manner. Compltely differen SSL certificates.

The report from your host appears to double the discussion of the wrong SSL being in question.

I found this thread (searching on paypal and SSL) that includes a pretty in depth discussion on the topic, links to other discussion to correct the issue and tests to be performed.

https://www.zen-cart.com/showthread.php?216560

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

4 Aug 2017, 11:21 PM
#11
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Credit Card payment method option doesn't show

[QUOTE=lat9;1333522]Mike, is the site that's not working set for "all SSL all the time" using DrByte's recommended:

define('HTTP_SERVER', 'https://www.example.com');
define('HTTPS_SERVER', 'https://www.example.com');
define('ENABLE_SSL', 'false');

Cindy thanks so much for your last response - modifying that code in paypaldp.php didn't work ... BUT it got me investigating SSL status in admin/includes/configure and includes/configure ... in the latter I had define('ENABLE_SSL', 'TRUE'); instead of 'true' .... inadvertently used 'CAPITALS' for 'true'.

So so simple a mistake caused a lot of work on your part and others in the PayPal Pro thread.

I am really grateful for your assistance.

So at the end of the day your plugin works perfectly in v1.5.1 'straight out of the box without modification'.

many thanks,
Mike