klarna / php-xmlrpc

DEPRECATED: the klarna xmlrpc library for php
9 stars 13 forks source link

Invalid return payload: enable debugging to examine incoming payload (XML error at line 1, check URL) (Error code: 2) #13

Open mixfreak opened 8 years ago

mixfreak commented 8 years ago

Hello, after the installation of the plugin "WooCommerce Klarna Gateway v2.0" we entered the “Eid – Germany ” and the “Shared Secret – Germany” with the help of the Klarna support.

Now, if we generate an ordner, we geht the error message:

“XML-RPC Fault #2: Invalid return payload: enable debugging to examine incoming payload.”

The Klarna support cannot solve the problem.

WP Version: 4.5.2 Server Info: Apache/2.2.31 (Unix) PHP Version: 7.0.6 MySQL Version: 5.5.48 WC Database Version: 2.5.5

When i go to xmlrpc.php the browser shows: "XML-RPC server accepts POST requests only."

Has anybody an idea. ?

ildar-aim commented 8 years ago

We have the same issue issue. Invalid return payload: enable debugging to examine incoming payload (XML error at line 1, check URL)

isdn commented 8 years ago

Hello,

We have received the same error.

When I logged the XML response from Klarna, it was the following:

<!--?xml version="1.0" encoding="ISO-8859-1"?--><methodresponse>...</methodresponse>

the XML header was commented out there for some reasons, and this might be related to the issue.