diff options
author | jeff <jeff> | 2009-03-10 16:14:11 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-03-10 16:14:11 +0000 |
commit | 32db3ad86bcf04e4f34705a396b718061d333f20 (patch) | |
tree | 1c64247c48327cb36d3bf7cbee466a655917fea4 /fs_selfservice/FS-SelfService/cgi/myaccount.html | |
parent | 200171841941972b3305cf8be8ef367a1a363e93 (diff) |
merge webpay support in with autoselection of old realtime_bop and realtime_refund_bop
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/myaccount.html')
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/myaccount.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index cb5ed35..c9ca0c5 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -8,7 +8,11 @@ Hello <%= $name %>!<BR><BR> <%= $small_custview %> <BR> <%= if ( $balance > 0 ) { - $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!; + if (scalar(grep $_, @hide_payment_field)) { + $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!; + } else { + $OUT .= qq! <B><A HREF="${url}make_thirdparty_payment&payby_method=CC">Make a payment</A></B><BR><BR>!; + } } %> <%= if ( @open_invoices ) { |