GVinc Posted January 12, 2009 Share Posted January 12, 2009 Hello I am not an expert in php so need as much help as possible. While testing my commerce site (un published) it seems that the express checkout cannot find the xml files. Here is the error code: PayPal WPP installation incomplete! There should be XML files located in /mnt/w0802/d10/s03/b02f743a/www/canadianchain.ca/catalogincludes/wpp_xml/ ! (setExpressCheckout.xml) Now cording to the latest paypal module v1.03 the xml files are actually located at: catalog/includes/paypal_wpp/xml How can I update this in the PHP files so that it can look in the correct directory? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2009 Share Posted February 5, 2009 did you ever resolve this issue as I have exactly the same problem - thanks :unsure: Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2009 Share Posted February 6, 2009 OK I found the solution in case anyone else has this issue. It may not be an elegant or the only solution but it works for me. It may differ depending on how your server is configured. I am using shared hosting. Find line 47 in .../includes/modules/payment/paypal_wpp.php : $this->resources = DIR_WS_CATALOG . DIR_WS_INCLUDES . 'paypal_wpp/'; Change as follows by including the full server path at the beginning: $this->resources = '/server/homepages/??/??????????/htdocs' . DIR_WS_CATALOG . DIR_WS_INCLUDES . 'paypal_wpp/'; Incidentally the error message is misleading and can be corrected by amending line 39 in .../includes/languages/english/modules/payment/paypal_wpp.php as follows: 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/ !'); Hope this helps someone ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.