[freeside-commits] freeside/FS/FS/cust_main Billing_Realtime.pm, 1.18, 1.19
Ivan,,,
ivan at wavetail.420.am
Fri Apr 8 17:43:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv1230
Modified Files:
Billing_Realtime.pm
Log Message:
should fix qis's intermittent backtraces when using an (ancient) counter-based cust_pay.paynum, RT#12317
Index: Billing_Realtime.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Billing_Realtime.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -d -r1.18 -r1.19
--- Billing_Realtime.pm 25 Mar 2011 01:19:48 -0000 1.18
+++ Billing_Realtime.pm 9 Apr 2011 00:43:20 -0000 1.19
@@ -856,6 +856,7 @@
if ( $error2 ) {
# gah. but at least we have a record of the state we had to abort in
# from cust_pay_pending now.
+ $dbh->rollback or die $dbh->errstr if $oldAutoCommit;
my $e = "WARNING: $options{method} captured but payment not recorded -".
" error inserting payment (". $payment_gateway->gateway_module.
"): $error2".
More information about the freeside-commits
mailing list