SteveDallas Posted March 12, 2010 Share Posted March 12, 2010 Matt, I think that we need to define some things first, to help you understand what is going on. DIR_FS_CATALOG is used when we need to find a file on the server. DIR_WS_CATALOG is used when we build a URL. FS references don't change between HTTP and HTTPS requests, as they are always located in the same place on the server. You receive the "can't find certificate" error because the API Certificate path is not correct. Set API Certificate to '/home/fhlinux134/x/XXX.com/user/htdocs/catalog/includes/paypal_wpp/cert/cert_key_pem.txt'. If you saved the key under a different name, adjust accordingly. You receive the "PayPal WPP installation incomplete!" because the WPP module can't find the XML files. This search depends on the value of DIR_FS_CATALOG. Set DIR_FS_CATALOG in catalog/includes/configure.php to '/home/fhlinux134/x/XXX.com/user/htdocs/catalog/'. Note that the "PayPal WPP installation incomplete!" test occurs before the code attempts to locate the certificate, so changing DIR_FS_CATALOG doesn't fix the first error; it just masks it because we never get to the other test. There is a fault in the error message that displays the proper location of the XML files. Thanks for pointing this out; we'll fix it in the next release. In the mean time, here is the fix: In catalog/includes/languages/english/modules/payment/paypal_wpp.php at line 39: Change: define('MODULE_PAYMENT_PAYPAL_DP_MISSING_XML', 'PayPal WPP installation incomplete! There should be XML files located in ' . DIR_FS_CATALOG . DIR_WS_INCLUDES . 'wpp_xml/ !'); to define('MODULE_PAYMENT_PAYPAL_DP_MISSING_XML', 'PayPal WPP installation incomplete! There should be XML files located in ' . DIR_FS_CATALOG . DIR_WS_INCLUDES . 'paypal_wpp/xml/ !'); Have you uploaded wpp_diagnostics.php to your catalog directory? This is a useful tool for determining whether the WPP module is installed correctly. To use it, open your web browser with http://www.xxx.com/catalog/wpp_diagnostics.php --Glen Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.