freeside/FS/FS Conf.pm,1.123,1.124 cust_main.pm,1.180,1.181

Kristian Hoffmann khoff at pouncequick.420.am
Mon Apr 11 13:13:20 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv8549

Modified Files:
	Conf.pm cust_main.pm 
Log Message:
Configuration option to override the email address sent to your BOP processor, in case the processor sends a pesky receipt that you don't want your customers getting.


Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- cust_main.pm	1 Apr 2005 05:59:54 -0000	1.180
+++ cust_main.pm	11 Apr 2005 20:13:16 -0000	1.181
@@ -1907,7 +1907,10 @@
        || ( $conf->exists('emailinvoiceonly') && ! @invoicing_list ) ) {
     push @invoicing_list, $self->all_emails;
   }
-  my $email = $invoicing_list[0];
+
+  my $email = ($conf->exists('business-onlinepayment-email-override'))
+              ? $conf->config('business-onlinepayment-email-override')
+              : $invoicing_list[0];
 
   my $payinfo = exists($options{'payinfo'})
                   ? $options{'payinfo'}

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- Conf.pm	21 Mar 2005 22:13:36 -0000	1.123
+++ Conf.pm	11 Apr 2005 20:13:16 -0000	1.124
@@ -351,6 +351,13 @@
   },
 
   {
+    'key'         => 'business-onlinepayment-email-override',
+    'section'     => 'billing',
+    'description' => 'Email address used instead of customer email address when submitting a BOP transaction.',
+    'type'        => 'text',
+  },
+
+  {
     'key'         => 'bsdshellmachines',
     'section'     => 'deprecated',
     'description' => '<b>DEPRECATED</b>, add a <i>bsdshell</i> <a href="../browse/part_export.cgi">export</a> instead.  Your BSD flavored shell (and mail) machines, one per line.  This enables export of `/etc/passwd\' and `/etc/master.passwd\'.',




More information about the freeside-commits mailing list