[freeside-commits] branch master updated. 3ae0411e8c7d7ff14db95c0d9d9e3834ba431933
Jonathan Prykop
jonathan at 420.am
Thu Jun 25 19:00:10 PDT 2015
The branch, master has been updated
via 3ae0411e8c7d7ff14db95c0d9d9e3834ba431933 (commit)
from 255c7037b4eab4dfd3edaa38fcca157d93d90eaf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3ae0411e8c7d7ff14db95c0d9d9e3834ba431933
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Thu Jun 25 20:59:54 2015 -0500
RT#23741 Multiple payment options [selfservice paytypes fix]
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 610754c..9c323a4 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -48,6 +48,7 @@ use FS::msg_template;
use FS::contact;
use FS::cust_contact;
use FS::cust_location;
+use FS::cust_payby;
use FS::ClientAPI::MyAccount::quotation; # just for code organization
@@ -854,7 +855,7 @@ sub payment_info {
'require_cvv' => $conf->exists('selfservice-require_cvv'),
'onfile_require_cvv' => $conf->exists('selfservice-onfile_require_cvv'),
- 'paytypes' => [ @FS::cust_main::paytypes ],
+ 'paytypes' => [ FS::cust_payby::paytypes ],
'paybys' => [ $conf->config('signup_server-payby') ],
'cust_paybys' => \@cust_paybys,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/ClientAPI/MyAccount.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list