Updated hookPayment method

removed global and smarty variables since no data is sent over HTTP
POST, replaced redundant and deprecated methods, removed all soap
object related code.

After the changes method declares and initialize variables sent via
SOAP setTransaction method call. Code is faster to execute than before