Making payment authorization work.
Adding some debugging lines.
Fixing response moving from array to simplexml object.