projects
/
trustcommerce.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c824a
)
Add comment.
author
David Thompson
<davet@gnu.org>
Mon, 14 Jul 2014 19:04:46 +0000
(15:04 -0400)
committer
David Thompson
<davet@gnu.org>
Mon, 14 Jul 2014 19:04:46 +0000
(15:04 -0400)
trustcommerce.php
patch
|
blob
|
blame
|
history
diff --git
a/trustcommerce.php
b/trustcommerce.php
index d81c5a24b2980ac0cf72f83d40f4c8c2cb36c13e..ba9e9ecd3fc120cef0f0d338f42b0d3341dfd08b 100644
(file)
--- 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;
}