Maybe someone can help...
I'm trying to get the results back from Authorize.Net using curl. I've tried the sample code here, both doing an exec() and using the built-in curl commands. With the exec() I get an "Internal Server Error" (apache). I'm on a shared box so I can't look at the error logs to help me.
For simplicity, I can run this at the command line on a shared FreeBSD box:
curl -d 'x_Login=myid&x_ADC_Delim_Data=TRUE&x_ADC_URL=FALSE' https://secure.authorize.net/gateway/transact.dll
And I get back:
3,1,5,Invalid Amount,000000,P,0,,,0.00,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,BE433130E87ED25E0221844675EB7C0B
The invalid results are OK.. I'm just trying to get this string back in a php script. If I exec() the same command, I get the Internal Server Error.
Does anyone know what that hex string is at the end of the returned results? And why I might be getting the server error?
Any help would be appreciated.
thanks,
Greg