Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎11-30-2016

Raw request and response

For debugging I need to log raw data to and from Authorixe.Net (the request and response). I'm using the php SDK and I don't seem to find a nice way to get the $request or $response in a sting format.


Anybody has any recommendations?


Thank you

All Star
Posts: 699
Registered: ‎11-03-2016

Re: Raw request and response

Hi @geniepro,


Our PHP SDK will log the request and response into a file. Define "AUTHORIZENET_LOG_FILE" to be the path to whichever file you'd like to log to, and the SDK takes it from there.


If that's not what you're looking for, let us know!