From: Galen Charlton Date: Tue, 20 May 2014 18:42:32 +0000 (-0700) Subject: LP#1321411: restore ability to handle credit payments using a processor other than... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e2261fe4fed56d9347583f98a7808d1bd7d009e8;p=evergreen%2Fpines.git LP#1321411: restore ability to handle credit payments using a processor other than Stripe This patch ensures that the processor name is passed to OpenILS::Application::Circ::CreditCard::process_payment, avoiding an exception thrown by Business::OnlinePayment. Signed-off-by: Galen Charlton Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm index be2c88b210..0c1493a351 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm @@ -126,6 +126,7 @@ sub process_stripe_or_bop_payment { unless $cc_args->{number}; return OpenILS::Application::Circ::CreditCard::process_payment({ + "processor" => $cc_args->{processor}, "desc" => $cc_args->{note}, "amount" => $total_paid, "patron_id" => $user_id,