projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: start apache after postgresql
[freeside.git]
/
ng_selfservice
/
payment_ach.php
diff --git
a/ng_selfservice/payment_ach.php
b/ng_selfservice/payment_ach.php
index
e58664f
..
a3dce76
100644
(file)
--- a/
ng_selfservice/payment_ach.php
+++ b/
ng_selfservice/payment_ach.php
@@
-41,6
+41,7
@@
if ( $receipt_html ) { ?>
$payment_info = $freeside->payment_info( array(
'session_id' => $_COOKIE['session_id'],
$payment_info = $freeside->payment_info( array(
'session_id' => $_COOKIE['session_id'],
+ 'payment_payby' => 'CHEK',
) );
if ( isset($payment_info['error']) && $payment_info['error'] ) {
) );
if ( isset($payment_info['error']) && $payment_info['error'] ) {
@@
-53,7
+54,7
@@
if ( $receipt_html ) { ?>
$error = $payment_error;
$error = $payment_error;
-
?>
+?>
<? include('elements/error.php'); ?>
<? include('elements/error.php'); ?>
@@
-81,6
+82,12
@@
if ( $receipt_html ) { ?>
<? include('elements/check.php') ?>
<? include('elements/check.php') ?>
+ <? if ($ach_read_only) { ?>
+ <? if ( $payby == 'CARD' ) { ?>
+ <INPUT TYPE="hidden" NAME="auto" VALUE="1">
+ <? } ?>
+ </TD></TR>
+ <? } else { ?>
<TR>
<TD COLSPAN=2>
<INPUT TYPE="checkbox" <? if ( ! $save_unchecked ) { echo 'CHECKED'; } ?> NAME="save" VALUE="1">
<TR>
<TD COLSPAN=2>
<INPUT TYPE="checkbox" <? if ( ! $save_unchecked ) { echo 'CHECKED'; } ?> NAME="save" VALUE="1">
@@
-92,6
+99,8
@@
if ( $receipt_html ) { ?>
Charge future payments to this account automatically
</TD>
</TR>
Charge future payments to this account automatically
</TD>
</TR>
+ <? } ?>
+
</TABLE>
<BR>
<INPUT TYPE="hidden" NAME="paybatch" VALUE="<? echo $paybatch; ?>">
</TABLE>
<BR>
<INPUT TYPE="hidden" NAME="paybatch" VALUE="<? echo $paybatch; ?>">