Jump to content


Corporate Sponsors


Latest News: (loading..)

WhiteKnight

Member Since 03 Nov 2007
Offline Last Active Apr 03 2011, 13:31
-----

Topics I've Started

First Data changes cause API to crash

08 March 2011, 04:44

Hi,
As some others have posted in the Payments->Others forum there was a problem with First Data (formerly Linkpoint) on Friday 3/4/11 with the API interface. I have spoken with First Data, they have not been very forthcoming about what went wrong (no surprise) but insist it it fixed.

Except I can still not process credit cards.

One of the suggestions that worked for a couple of users was to uncomment 2 lines in the curl section of lphp.php. I tried this and it made a difference whether the system crashed with a Fatal Error displayed in linkpoint_api.php or went past that error and failed in processing.

The error I get is on the PREAUTH attempt. The cc debug outbound message comes to me OK and looks just like always. The cc debug inbound message has the r_error SGS-020003: Invalid XML which the book says means it got passed some characters like < > ' " & and of course appear all over our code.

So what happened? I made no code changes, my host says they made no changes in the system, FD says they have everything working. I can't process cards without an error.

FD wants me send them a file with the XML string in it and I can see that would be useful for debugging myself. But I am not sure how to write that out to a file or email it to myself.

Any suggestions would be very helpful and much appreciated.

Thanks.