From: David Thompson Date: Mon, 14 Jul 2014 19:04:46 +0000 (-0400) Subject: Add comment. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=99faa4bc9507a04a2d29ff5cb3b7f0f91f6f458e;p=trustcommerce.git Add comment. --- diff --git a/trustcommerce.php b/trustcommerce.php index d81c5a2..ba9e9ec 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -314,9 +314,12 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { $exp_year = substr($this->_getParam('year'),-2); $fields['exp'] = "$exp_month$exp_year"; + // Use the demo flag when the mode is not live so that we can test + // in other environments. if ($this->_mode != 'live') { $fields['demo'] = 'y'; } + return $fields; }