From e2261fe4fed56d9347583f98a7808d1bd7d009e8 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 20 May 2014 11:42:32 -0700 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm | 1 + 1 file changed, 1 insertion(+) 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, -- 2.11.0