X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay_pending.html;h=7d480f319b04ec59289b4503a089d43f33efc050;hp=0916a1c0cf8c0bd93b96cab8f8af3ee07689cc05;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/httemplate/edit/cust_pay_pending.html b/httemplate/edit/cust_pay_pending.html index 0916a1c0c..7d480f319 100644 --- a/httemplate/edit/cust_pay_pending.html +++ b/httemplate/edit/cust_pay_pending.html @@ -4,10 +4,18 @@
Are you sure you want to delete this pending payment?
+% } elsif (( $action eq 'complete' ) and $authorized) { + +
Payment was authorized but not captured. Contact <% $cust_pay_pending->processor || 'the payment gateway' %> to establish the final disposition of this transaction.
+ % } elsif ( $action eq 'complete' ) {
No response was received from <% $cust_pay_pending->processor || 'the payment gateway' %> for this transaction. Check <% $cust_pay_pending->processor || 'the payment gateway' %>'s reporting and determine if this transaction completed successfully.
+% } elsif ( $action eq 'capture' ) { + +
Captured payment not recorded in database - check logs for errors.
+ % }
@@ -91,7 +99,7 @@ -% } elsif ( $action eq 'complete' ) { +% } else { @@ -99,14 +107,24 @@ -     - - - -     - - - + +% if ( $action eq 'complete' ) { +     +% if ($authorized) { + + + +% } else { + + + +% } +     + + + +% } + @@ -147,6 +165,8 @@ my $cust_pay_pending = }) or die 'unknown paypendingnum'; +my $authorized = ($cust_pay_pending->status eq 'authorized') ? 1 : 0; + my $conf = new FS::Conf; my $money_char = $conf->config('money_char') || '$';