X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch.pm;h=8c6c36845577ab8dd2019823bc58f28b703449eb;hb=517ad7e0c5bd5a6329dfd3ef9c35f69afea9fc49;hp=3a069149f8a0342a6eab16187abc4b413d425c90;hpb=bf2769eca6c8bdcf0332e43cc654f35280624d12;p=freeside.git diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 3a069149f..8c6c36845 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -735,7 +735,8 @@ sub import_from_gateway { $total += $cust_pay_batch->paid; } else { - $error = $cust_pay_batch->decline($item->error_message); + $error = $cust_pay_batch->decline($item->error_message, + $item->failure_status); } if ( $error ) {