Jens Teich

cURL options

Discussion created by Jens Teich on Sep 30, 2017
Latest reply on Sep 30, 2017 by user19752

Trying to use curl with insert_from_url to communicate with German payment service SOFORT.

Authentication works, but I am not successful in getting the xml data accepted by the server.

When I have no CRLF in my XML like

  <?xml ...?><multipay>...

service complains: No Product, which would be multipay.  Inserting an CRLF after <?xml ...?> creates an error which complains about exactly about this CRLF.

I already tried some of the features documented by Russel like FM-text-encode, --crlf and so on, but nothing works.  Who knows what to do?