Add comment.
authorDavid Thompson <davet@gnu.org>
Mon, 14 Jul 2014 19:04:46 +0000 (15:04 -0400)
committerDavid Thompson <davet@gnu.org>
Mon, 14 Jul 2014 19:04:46 +0000 (15:04 -0400)
trustcommerce.php

index d81c5a24b2980ac0cf72f83d40f4c8c2cb36c13e..ba9e9ecd3fc120cef0f0d338f42b0d3341dfd08b 100644 (file)
@@ -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;
   }