Jump to content
thirty bees forum
  • 0

API response expecting 'prestashop' in ERP


Question

Posted

The ERP we use looks for 'prestashop' node in http://[URL]/api It looks like it might be the which may be the culprit but I'm not sure.

Does anyone know how I can resolve this?

4 answers to this question

Recommended Posts

  • 0
Posted

Ok, with a bit of searching I seem to have resolved this issue.

In public_html/classes/webservice/WebserviceOutputXML.php

I modified on line 317:

``` public function overrideContent($content) { $xml = ''."\n"; $xml .= ''."\n"; $xml .= $content; $xml .= ''."\n";

    return $xml;
}

```

I replaced "thirtybees" with "prestashop" and that seems to do the trick.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...