X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay_pending.html;h=a8cc186e4e72e8536849fef29e3b65b79a3ddfe1;hp=0916a1c0cf8c0bd93b96cab8f8af3ee07689cc05;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=624b2d44625f69d71175c3348cae635d580c890b diff --git a/httemplate/edit/cust_pay_pending.html b/httemplate/edit/cust_pay_pending.html index 0916a1c0c..a8cc186e4 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,22 +99,32 @@ -% } elsif ( $action eq 'complete' ) { +% } else { - - -     - - - -     - - + + +% 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') || '$';