X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_pay_pending.html;h=a8cc186e4e72e8536849fef29e3b65b79a3ddfe1;hp=0056bb925a0acdaa1307557dfce7f6c4b3208d82;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/httemplate/edit/cust_pay_pending.html b/httemplate/edit/cust_pay_pending.html index 0056bb925..a8cc186e4 100644 --- a/httemplate/edit/cust_pay_pending.html +++ b/httemplate/edit/cust_pay_pending.html @@ -4,6 +4,10 @@
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.
@@ -97,27 +101,32 @@ % } else { -%# if ( $action eq 'complete' ) { - - + -% if ( $action eq 'complete' ) { +% if ( $action eq 'complete' ) {     +% if ($authorized) { + + + +% } else { +% }     - % } + + @@ -156,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') || '$';