summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pay_batch.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-03-12 19:30:08 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-03-12 19:30:08 -0500
commitcd1a490338a5da42ab94b62b24231aa14dd5d048 (patch)
tree66e011ac852df2070a52c2b0e158a31d8ea8615e /FS/FS/cust_pay_batch.pm
parent771e64b732c69902be5552d53d4a7a1199d5fca3 (diff)
RT#33582: RBC return batch processing failure [handling for non-chronological file]
Diffstat (limited to 'FS/FS/cust_pay_batch.pm')
-rw-r--r--FS/FS/cust_pay_batch.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm
index da003d8..13b2eef 100644
--- a/FS/FS/cust_pay_batch.pm
+++ b/FS/FS/cust_pay_batch.pm
@@ -344,14 +344,8 @@ sub decline {
}
$cust_pay->void($reason);
}
- elsif ( lc($old->status) eq 'declined' ) {
- # batch files from RBC can have multiple lines for one decline
- # if this causes problems elsewhere, try hacking pay_batch/RBC.pm instead
- return '';
- }
else {
# normal case: refuse to do anything
- # should never happen...only statuses are approved or declined
return "cannot decline paybatchnum $paybatchnum, already resolved ('".$old->status."')";
}
} # !$old->status