add configuration option to control recurring_flag behavior, RT#3843
authorivan <ivan>
Tue, 14 Apr 2009 00:09:31 +0000 (00:09 +0000)
committerivan <ivan>
Tue, 14 Apr 2009 00:09:31 +0000 (00:09 +0000)
FS/FS/Conf.pm

index 9d8c3f2..6403fb7 100644 (file)
@@ -1660,6 +1660,17 @@ worry that config_items is freeside-specific and icky.
     'type'        => 'text',
   },
 
+  {
+    'key'         => 'credit_card-recurring_billing_flag',
+    'section'     => 'billing',
+    'description' => 'This controls when the system passes the "recurring_billing" flag on credit card transactions.  If supported by your processor (and the Business::OnlinePayment processor module), passing the flag indicates this is a recurring transaction and may turn off the CVV requirement. ',
+    'type'        => 'select',
+    'select_hash' => [
+                       'actual_oncard' => 'Default/classic behavior: set the flag if a customer has actual previous charges on the card.',
+                      'transaction_is_recur' => 'Set the flag if the transaction itself is recurring, irregardless of previous charges on the card.',
+                     ],
+  },
+
   {
     'key'         => 'cvv-save',
     'section'     => 'billing',