Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Paypal Express Checkout - xml files


Recommended Posts

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/ !



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?



Link to comment
Share on other sites

  • 4 weeks later...

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 !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...