[interchange-cvs] interchange - markj modified lib/Vend/Payment/PayflowPro.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Mar 20 15:44:59 UTC 2009


User:      markj
Date:      2009-03-20 15:44:59 GMT
Modified:  lib/Vend/Payment PayflowPro.pm
Log:
Correcting inverted truth condition on RESULT for when to run check_sub.

Revision  Changes    Path
1.2                  interchange/lib/Vend/Payment/PayflowPro.pm


rev 1.2, prev_rev 1.1
Index: PayflowPro.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Payment/PayflowPro.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PayflowPro.pm	16 Mar 2009 15:34:29 -0000	1.1
+++ PayflowPro.pm	20 Mar 2009 15:44:59 -0000	1.2
@@ -1,6 +1,6 @@
 # Vend::Payment::PayflowPro - Interchange support for PayPal Payflow Pro HTTPS POST
 #
-# $Id: PayflowPro.pm,v 1.1 2009-03-16 15:34:29 markj Exp $
+# $Id: PayflowPro.pm,v 1.2 2009-03-20 15:44:59 markj Exp $
 #
 # Copyright (C) 2002-2009 Interchange Development Group and others
 # Copyright (C) 1999-2002 Red Hat, Inc.
@@ -477,7 +477,7 @@
     my $decline = $result->{RESULT};
 
     if (
-        $result->{RESULT}
+        $result->{RESULT} == 0
             and
         my $check_sub_name = $opt->{check_sub} || charge_param('check_sub')
     ) {







More information about the interchange-cvs mailing list