$this->assign('dupeError', TRUE);
- /* only subtract dupes from succesful import if we're skipping */
+ /* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
$conflictRowCount - $duplicateRowCount - $mismatchCount
private $_activityDateIndex;
/**
- * Array of succesfully imported activity id's
+ * Array of successfully imported activity id's
*
* @array
*/
$this->assign('dupeError', TRUE);
- /* only subtract dupes from succesful import if we're skipping */
+ /* only subtract dupes from successfyul import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
$conflictRowCount - $duplicateRowCount - $mismatchCount - $invalidSoftCreditRowCount - $invalidPledgePaymentRowCount
//protected $_mapperPhoneType;
/**
- * Array of succesfully imported contribution id's
+ * Array of successfully imported contribution id's
*
* @array
*/
case 'cancel_date':
if ($dateValue = CRM_Utils_Date::formatDate($params[$key], $dateType)) {
- $params[$key] = $dateValue;
+ $params[$key] = $dateValue;
}
else {
CRM_Import_Parser_Contact::addToErrorMsg('Cancel Date', $errorMessage);
}
$newContribution = CRM_Contribute_BAO_Contribution::create($formatted, $ids);
-
+
$this->_newContributions[] = $newContribution->id;
//return soft valid since we need to show how soft credits were added
}
/**
- * Get the array of succesfully imported contribution id's
+ * Get the array of successfully imported contribution id's
*
* @return array
* @access public
// 32 character string
$requestFields['ssl_invoice_number'] = $params['invoiceID'];
$requestFields['ssl_transaction_type'] = "CCSALE";
- $requestFields['ssl_description'] = empty($params['description']) ? "backoffice payment" : $params['description'];
+ $requestFields['ssl_description'] = empty($params['description']) ? "backoffice payment" : $params['description'];
$requestFields['ssl_customer_number'] = substr($params['credit_card_number'], -4);
/************************************************************************************
curl_close($ch);
/**********************************************************
- * Payment succesfully sent to gateway - process the response now
+ * Payment successfully sent to gateway - process the response now
**********************************************************/
$processorResponse = self::decodeXMLResponse($responseData);
curl_close($ch);
//----------------------------------------------------------------------------------------------------
- // Payment succesfully sent to gateway - process the response now
+ // Payment successfully sent to gateway - process the response now
//----------------------------------------------------------------------------------------------------
//
$processorResponse = lphp::decodeXML($responseData);
$this->_paymentProcessor = $paymentProcessor;
$this->_processorName = ts('Payflow Pro');
}
-
+
/**
* singleton function used to manage this object
*
/*
* define variables for connecting with the gateway
*/
-
+
// Are you using the Payflow Fraud Protection Service?
// Default is YES, change to NO or blank if not.
//This has not been investigated as part of writing this payment processor
$responseData = self::submit_transaction($submiturl, $payflow_query);
/*
- * Payment succesfully sent to gateway - process the response now
+ * Payment successfully sent to gateway - process the response now
*/
$result = strstr($responseData, "RESULT");
$nvpArray = array();
* returns string $errorMsg if any errors found - null if OK
*
*/
-
+
// function checkConfig( $mode ) // CiviCRM V1.9 Declaration
// CiviCRM V2.0 Declaration
/*
* Submit transaction using CuRL
*/
-
+
// get data ready for API
$user_agent = $_SERVER['HTTP_USER_AGENT'];
// Here's your custom headers; adjust appropriately for your setup:
/*
* define variables for connecting with the gateway
*/
-
+
//if you have not set up a separate user account the vendor name is used as the username
if (!$this->_paymentProcessor['subject']) {
$user = $this->_paymentProcessor['user_name'];
//ie. url at payment processor to submit to.
$responseData = self::submit_transaction($submiturl, $payflow_query);
/*
- * Payment succesfully sent to gateway - process the response now
+ * Payment successfully sent to gateway - process the response now
*/
-
+
$result = strstr($responseData, "RESULT");
$nvpArray = array();
while (strlen($result)) {
curl_close($submit);
//----------------------------------------------------------------------------------------------------
- // Payment succesfully sent to gateway - process the response now
+ // Payment successfully sent to gateway - process the response now
//----------------------------------------------------------------------------------------------------
$eWAYResponse->ProcessResponse($responseData);
$this->assign('dupeError', TRUE);
- /* only subtract dupes from succesful import if we're skipping */
+ /* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
$conflictRowCount - $duplicateRowCount - $mismatchCount
private $_eventTitleIndex;
/**
- * Array of succesfully imported participants id's
+ * Array of successfully imported participants id's
*
* @array
*/
}
/**
- * Get the array of succesfully imported Participation ids
+ * Get the array of successfully imported Participation ids
*
* @return array
* @access public
protected $_parseStreetAddress;
/**
- * Array of succesfully imported contact id's
+ * Array of successfully imported contact id's
*
* @array
*/
protected $_lineCount;
/**
- * Array of succesfully imported related contact id's
+ * Array of successfully imported related contact id's
*
* @array
*/
}
/**
- * Get the array of succesfully imported contact id's
+ * Get the array of successfully imported contact id's
*
* @return array
* @access public
}
/**
- * Get the array of succesfully imported related contact id's
+ * Get the array of successfully imported related contact id's
*
* @return array
* @access public
* @param int $queue_id The Queue Event ID of the recipient
* @param string $hash The hash
*
- * @return boolean Was the contact succesfully unsubscribed?
+ * @return boolean Was the contact successfully unsubscribed?
* @access public
* @static
*/
$gc = $gcObject->getTableName();
//We Need the mailing Id for the hook...
- $do->query("SELECT $job.mailing_id as mailing_id
- FROM $job
+ $do->query("SELECT $job.mailing_id as mailing_id
+ FROM $job
WHERE $job.id = " . CRM_Utils_Type::escape($job_id, 'Integer'));
$do->fetch();
$mailing_id = $do->mailing_id;
INNER JOIN $group
ON $mg.entity_id = $group.id
WHERE $job.id = " . CRM_Utils_Type::escape($job_id, 'Integer') . "
- AND $mg.group_type IN ('Include', 'Base')
+ AND $mg.group_type IN ('Include', 'Base')
AND $group.is_hidden = 0"
);
- /* Make a list of groups and a list of prior mailings that received
+ /* Make a list of groups and a list of prior mailings that received
* this mailing */
list($domainEmailName, $domainEmailAddress) = CRM_Core_BAO_Domain::getNameAndEmail();
$dao = new CRM_Mailing_BAO_Mailing();
- $dao->query(" SELECT * FROM $mailingTable
+ $dao->query(" SELECT * FROM $mailingTable
INNER JOIN $jobTable ON
- $jobTable.mailing_id = $mailingTable.id
+ $jobTable.mailing_id = $mailingTable.id
WHERE $jobTable.id = $job");
$dao->fetch();
* @param array $files Any files posted to the form
* @param array $self an current this object
*
- * @return boolean true on succesful SMTP handoff
+ * @return boolean true on successful SMTP handoff
* @access public
*/
static function testMail($testParams, $files, $self) {
}
}
- if (CRM_Utils_Array::value('_qf_Test_next', $testParams) &&
+ if (CRM_Utils_Array::value('_qf_Test_next', $testParams) &&
$self->get('count') <= 0) {
return array(
'_qf_default' =>
$this->assign('dupeError', TRUE);
- /* only subtract dupes from succesful import if we're skipping */
+ /* only subtract dupes from successful import if we're skipping */
$this->set('validRowCount', $totalRowCount - $invalidRowCount -
$conflictRowCount - $duplicateRowCount - $mismatchCount
private $_membershipStatusIndex;
/**
- * Array of succesfully imported membership id's
+ * Array of successfully imported membership id's
*
* @array
*/
}
/**
- * Get the array of succesfully imported membership id's
+ * Get the array of successfully imported membership id's
*
* @return array
* @access public