[freeside-commits] freeside/FS/FS/cust_main Billing_Realtime.pm, 1.9.2.5, 1.9.2.6
Ivan,,,
ivan at wavetail.420.am
Fri Apr 8 17:43:25 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv1237
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.9.2.5
retrieving revision 1.9.2.6
diff -u -w -d -r1.9.2.5 -r1.9.2.6
--- Billing_Realtime.pm 25 Mar 2011 01:19:56 -0000 1.9.2.5
+++ Billing_Realtime.pm 9 Apr 2011 00:43:22 -0000 1.9.2.6
@@ -817,6 +817,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