/[drupal]/contributions/modules/crmngp/crmngp_cwp.inc
ViewVC logotype

Diff of /contributions/modules/crmngp/crmngp_cwp.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.10.2.13 by seanr, Thu Nov 19 18:58:27 2009 UTC revision 1.10.2.14 by seanr, Thu Nov 19 20:26:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: crmngp_cwp.inc,v 1.10.2.12 2009/07/21 17:13:09 seanr Exp $  // $Id: crmngp_cwp.inc,v 1.10.2.13 2009/11/19 18:58:27 seanr Exp $
3    
4  //save a cwp contribute Transaction  //save a cwp contribute Transaction
5  function crmngp_cwp_transaction_save($contribution = NULL, $full_response = FALSE) {  function crmngp_cwp_transaction_save($contribution = NULL, $full_response = FALSE) {
# Line 156  function _crmngp_cwp_request($xml = NULL Line 156  function _crmngp_cwp_request($xml = NULL
156    if (!in_array($type, _crmngp_cwp_transaction_types())) { return NULL; }    if (!in_array($type, _crmngp_cwp_transaction_types())) { return NULL; }
157    if (!variable_get('crmngp_cwp_credentials', NULL)) { return NULL; }    if (!variable_get('crmngp_cwp_credentials', NULL)) { return NULL; }
158    
159    include_once('./'.drupal_get_path('module', 'crmngp').'/lib/nusoap.php');    //include_once('./'.drupal_get_path('module', 'crmngp').'/lib/nusoap.php');
160    
161    $params = array(    $params = array(
162      'credentials' => variable_get('crmngp_cwp_credentials', NULL),      'credentials' => variable_get('crmngp_cwp_credentials', NULL),

Legend:
Removed from v.1.10.2.13  
changed lines
  Added in v.1.10.2.14

  ViewVC Help
Powered by ViewVC 1.1.3