* pattern and cache the instance in this variable
*
* @var object
- * @static
*/
static private $_singleton = NULL;
*
* @internal param string $mode the mode we are operating in (live or test)
*
- * @return string the error message if any
+ * @return string
+ * the error message if any
*/
public function checkConfig() {
$config = CRM_Core_Config::singleton();
* @param array $params
* Assoc array of input parameters for this transaction.
*
- * @return array the result in an nice formatted array (or an error object)
+ * @return array
+ * the result in an nice formatted array (or an error object)
* @abstract
*/
public function doDirectPayment(&$params) {
}
/*
- * Build the private data string to pass to DPS, which they will give back to us with the
- *
- * transaction result. We are building this as a comma-separated list so as to avoid long URLs.
- *
- * Parameters passed: a=contactID, b=contributionID,c=contributionTypeID,d=invoiceID,e=membershipID,f=participantID,g=eventID
- */
+ * Build the private data string to pass to DPS, which they will give back to us with the
+ *
+ * transaction result. We are building this as a comma-separated list so as to avoid long URLs.
+ *
+ * Parameters passed: a=contactID, b=contributionID,c=contributionTypeID,d=invoiceID,e=membershipID,f=participantID,g=eventID
+ */
$privateData = "a={$params['contactID']},b={$params['contributionID']},c={$params['contributionTypeID']},d={$params['invoiceID']}";
CRM_Utils_Hook::alterPaymentProcessorParams($this, $params, $dpsParams);
/*
- * determine whether method is pxaccess or pxpay by whether signature (mac key) is defined
- */
+ * determine whether method is pxaccess or pxpay by whether signature (mac key) is defined
+ */
if (empty($this->_paymentProcessor['signature'])) {
/*