From 297c7d5dbd3a05c96a9faafef8389d1be5ff0bfc Mon Sep 17 00:00:00 2001 From: Alan Dixon Date: Tue, 7 Jan 2014 16:22:30 -0500 Subject: [PATCH] we need to have tracing on for the soap client to support an old iats method --- CRM/iATS/iATSService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/iATS/iATSService.php b/CRM/iATS/iATSService.php index cad1e80..b5582a7 100644 --- a/CRM/iATS/iATSService.php +++ b/CRM/iATS/iATSService.php @@ -105,7 +105,9 @@ function request($credentials, $payment) { } // the agent user and password only get put in here so they don't end up in a log above try { - $soapClient = new SoapClient($this->_wsdl_url, array('trace' => $this->options['debug'])); + /* until iATS fixes it's box verify, we need to have trace on to make the hack below work */ + $soapClient = new SoapClient($this->_wsdl_url, array('trace' => 1)); + // $soapClient = new SoapClient($this->_wsdl_url, array('trace' => $this->options['debug'])); // watchdog('iats_civicrm_ca', 'Soap Client: !obj', array('!obj' => print_r($soapClient, TRUE)), WATCHDOG_NOTICE); /* build the request manually as per the iATS docs */ $xml = '<'.$message.' xmlns="'.$this->_wsdl_url_ns.'">';