summaryrefslogtreecommitdiff
path: root/FS/FS/Conf.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-11-15 03:08:29 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-11-15 03:08:29 -0600
commitca870678fbcc49f24e3ccbba899c974938c77336 (patch)
tree6ae9b2970d582fa97b1c03122ee32ea982bc2bd3 /FS/FS/Conf.pm
parenteb58fee531cc006272224446e5a518085c4ec9be (diff)
71513: Card tokenization [remove_card_numbers subroutine]
Diffstat (limited to 'FS/FS/Conf.pm')
-rw-r--r--FS/FS/Conf.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 1b6deec..ea1d391 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -770,6 +770,13 @@ my $validate_email = sub { $_[0] =~
},
{
+ 'key' => 'no_saved_cardnumbers',
+ 'section' => 'credit_cards',
+ 'description' => 'Do not allow credit card numbers to be written to the database. Prevents realtime processing unless payment gateway supports tokenization.',
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'credit-card-surcharge-percentage',
'section' => 'credit_cards',
'description' => 'Add a credit card surcharge to invoices, as a % of the invoice total. WARNING: Although recently permitted to US merchants in general, specific consumer protection laws may prohibit or restrict this practice in California, Colorado, Connecticut, Florda, Kansas, Maine, Massachusetts, New York, Oklahome, and Texas. Surcharging is also generally prohibited in most countries outside the US, AU and UK. When allowed, typically not permitted to be above 4%.',