projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix up some bugs in processing payments via self-service... appears to be
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
selfservice.cgi
diff --git
a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi
b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi
index
d43df40
..
456d2dd
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
+++ b/
fs_selfservice/FS-SelfService/cgi/selfservice.cgi
@@
-6,7
+6,8
@@
use subs qw(do_template);
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Text::Template;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Text::Template;
-use FS::SelfService qw(login customer_info invoice payment_info);
+use FS::SelfService qw( login customer_info invoice payment_info
+ process_payment );
$template_dir = '.';
$template_dir = '.';
@@
-54,7
+55,7
@@
if ( $cgi->param('session') eq 'login' ) {
$session_id = $cgi->param('session');
$cgi->param('action') =~
$session_id = $cgi->param('session');
$cgi->param('action') =~
- /^(myaccount|view_invoice|make_payment|
process
_payment)$/
+ /^(myaccount|view_invoice|make_payment|
do
_payment)$/
or die "unknown action ". $cgi->param('action');
my $action = $1;
or die "unknown action ". $cgi->param('action');
my $action = $1;
@@
-94,7
+95,7
@@
sub make_payment {
payment_info( 'session_id' => $session_id );
}
payment_info( 'session_id' => $session_id );
}
-sub
process
_payment {
+sub
do
_payment {
use Business::CreditCard;
use Business::CreditCard;