Skip to content

Commit

Permalink
we need to have tracing on for the soap client to support an old iats…
Browse files Browse the repository at this point in the history
… method
  • Loading branch information
adixon committed Jan 7, 2014
1 parent c9ddac2 commit 297c7d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/iATS/iATSService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.'">';
Expand Down

0 comments on commit 297c7d5

Please sign in to comment.