[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. e2261fe4fed56d9347583f98a7808d1bd7d009e8

Evergreen Git git at git.evergreen-ils.org
Thu May 22 09:16:00 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  e2261fe4fed56d9347583f98a7808d1bd7d009e8 (commit)
      from  1ed5744ea0c457faedfbccb2c411978e1284e6e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e2261fe4fed56d9347583f98a7808d1bd7d009e8
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Tue May 20 11:42:32 2014 -0700

    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 <gmc at esilibrary.com>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

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 be2c88b..0c1493a 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,

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/Application/Circ/Money.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list