Jump to content

Problems sending new orders


amelie13

Recommended Posts

Hi,

I'm using the PSWebServiceLibrairy for Prestashop API.

I've modified the code to add orders instead of customers.

Listing is OK but when adding I got this error :

 

HTTP XML response is not parsable : array ( 0 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 9, 'column' => 64, 'message' => 'Input is not proper UTF-8, indicate encoding ! Bytes: 0xE3 0xF7 0xB7 0x6D ', 'file' => '', 'line' => 733, )), 1 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 9, 'column' => 68, 'message' => 'PCDATA invalid Char value 3 ', 'file' => '', 'line' => 733, )), 2 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 68, 'column' => 76, 'message' => 'StartTag: invalid element name ', 'file' => '', 'line' => 733, )), 3 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 9, 'column' => 77, 'message' => 'PCDATA invalid Char value 30 ', 'file' => '', 'line' => 733, )), 4 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 9, 'column' => 78, 'message' => 'PCDATA invalid Char value 16 ', 'file' => '', 'line' => 733, )), 5 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 64, 'column' => 51, 'message' => 'XML declaration allowed only at the start of the document ', 'file' => '', 'line' => 9088, )), 6 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 64, 'column' => 51, 'message' => 'XML declaration allowed only at the start of the document ', 'file' => '', 'line' => 11746, )), 7 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 64, 'column' => 51, 'message' => 'XML declaration allowed only at the start of the document ', 'file' => '', 'line' => 14403, )), 8 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 64, 'column' => 33, 'message' => 'XML declaration allowed only at the start of the document ', 'file' => '', 'line' => 14980, )), )

 

What is wrong ?

 

Thank you.

Edited by amelie13 (see edit history)
Link to comment
Share on other sites

  • 5 months later...

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...