From 99faa4bc9507a04a2d29ff5cb3b7f0f91f6f458e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 14 Jul 2014 15:04:46 -0400 Subject: [PATCH] Add comment. --- trustcommerce.php | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.25.1