You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing about a problem when I try to create a cart using to example usage.
I got the following raise exeption:
I resolved the problem by modifing the create class method (prestashop/api.py), line 114:
cls.url, data={'xml': etree.tostring(root)} => cls.url, data= etree.tostring(root)
Hello rituparnapanda,
I'm writing about a problem when I try to create a cart using to example usage.
I got the following raise exeption:
I resolved the problem by modifing the create class method (prestashop/api.py), line 114:
cls.url, data={'xml': etree.tostring(root)} => cls.url, data= etree.tostring(root)
Here a link about a person who had the same problem in php:
https://www.prestashop.com/forums/topic/243364-problem-using-webservice-from-external-application-xml-error-string-could-not-be-parsed-as-xml/
Best regards
P.S: I am working with the 1.6.0.1version of Prestashop
The text was updated successfully, but these errors were encountered: