Hi,
this is a simple debugging request: how do I log the data returned by
a gateway? i don't want a response object yet, but rather just the
actual data. My gateway is a subclass of the
authorize.net gateway,
and the response object is coming back empty. I'm trying to figure out
what the gateway is replying with so I can create the correct response
object. here's what i figured out:
-
auth.net gateway's purchase method calls
auth.net gateway's commit
method
-inside commit method (line 230 in authorize_net.rb) i want to log the
results of the variable "url".
-after typing 'require logger' at the top, i typed this line after the
url variable is set:
-Logger.new(STDOUT).info('URL is #{url}')
Nothing happens. Help, gurus?
thanks!