summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-13 00:49:12 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-13 00:49:12 -0700
commit26004f55ce70242d07fc8de51e24439e783e9e49 (patch)
tree0a0ef784d27f57a905b2ad3a5c955b0be3b3edb0 /FS/FS
parent37eaedf1acb77298a1c5b6ca0eecf372633dc4cc (diff)
abstract out the amount + fee + input, javascript, display so it can be reused by self-service without code duplication
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/Conf.pm52
1 files changed, 51 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 7e641308b..e3f8a5a15 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -2538,7 +2538,7 @@ and customer address. Include units.',
{
'key' => 'manual_process-pkgpart',
'section' => 'billing',
- 'description' => 'Package to add to each manual credit card and ACH payments entered from the backend. Enabling this option may be in violation of your merchant agreement(s), so please check them carefully before enabling this option.',
+ 'description' => 'Package to add to each manual credit card and ACH payment entered by employees from the backend. Enabling this option may be in violation of your merchant agreement(s), so please check it(/them) carefully before enabling this option.',
'type' => 'select-part_pkg',
},
@@ -2561,6 +2561,56 @@ and customer address. Include units.',
},
{
+ 'key' => 'selfservice_process-pkgpart',
+ 'section' => 'billing',
+ 'description' => 'Package to add to each manual credit card and ACH payment entered by the customer themselves in the self-service interface. Enabling this option may be in violation of your merchant agreement(s), so please check it(/them) carefully before enabling this option.',
+ 'type' => 'select-part_pkg',
+ },
+
+ {
+ 'key' => 'selfservice_process-display',
+ 'section' => 'billing',
+ 'description' => 'When using selfservice_process-pkgpart, add the fee to the amount entered (default), or subtract the fee from the amount entered.',
+ 'type' => 'select',
+ 'select_hash' => [
+ 'add' => 'Add fee to amount entered',
+ 'subtract' => 'Subtract fee from amount entered',
+ ],
+ },
+
+ {
+ 'key' => 'selfservice_process-skip_first',
+ 'section' => 'billing',
+ 'description' => "When using selfservice_process-pkgpart, omit the fee if it is the customer's first payment.",
+ 'type' => 'checkbox',
+ },
+
+ {
+ 'key' => 'suto_process-pkgpart',
+ 'section' => 'billing',
+ 'description' => 'Package to add to each automatic credit card and ACH payment processed by billing events. Enabling this option may be in violation of your merchant agreement(s), so please check them carefully before enabling this option.',
+ 'type' => 'select-part_pkg',
+ },
+
+# {
+# 'key' => 'auto_process-display',
+# 'section' => 'billing',
+# 'description' => 'When using auto_process-pkgpart, add the fee to the amount entered (default), or subtract the fee from the amount entered.',
+# 'type' => 'select',
+# 'select_hash' => [
+# 'add' => 'Add fee to amount entered',
+# 'subtract' => 'Subtract fee from amount entered',
+# ],
+# },
+
+ {
+ 'key' => 'auto_process-skip_first',
+ 'section' => 'billing',
+ 'description' => "When using auto_process-pkgpart, omit the fee if it is the customer's first payment.",
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'allow_negative_charges',
'section' => 'billing',
'description' => 'Allow negative charges. Normally not used unless importing data from a legacy system that requires this.',