@@ -, +, @@ fee that is not "renewable" if the itemnumber key has no data or the item is not found --- C4/SIP/Sip/MsgType.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/C4/SIP/Sip/MsgType.pm +++ a/C4/SIP/Sip/MsgType.pm @@ -1145,7 +1145,9 @@ sub handle_fee_paid { my @success = (); my @fail = (); foreach my $result( @{$pay_response->{renew_result}} ) { + next unless $result->{itemnumber}; my $item = Koha::Items->find({ itemnumber => $result->{itemnumber} }); + next unless $item; if ($result->{success}) { push @success, '"' . $item->biblio->title . '"'; } else { --