action is available in the content, not as a method BUSINESS_ONLINEPAYMENT_PAYFLOWPRO_0_02
authorivan <ivan>
Thu, 7 Oct 2004 23:38:17 +0000 (23:38 +0000)
committerivan <ivan>
Thu, 7 Oct 2004 23:38:17 +0000 (23:38 +0000)
PayflowPro.pm

index 906bce7..86a43a0 100644 (file)
@@ -166,7 +166,7 @@ sub submit {
 
     my @required = qw( TRXTYPE TENDER PARTNER VENDOR USER PWD );
     if (  $self->transaction_type() eq 'C' ) { #credit card
-      if ( $self->action() =~ /^[CDV]$/ && exists($content{'ORIGID'})
+      if ( $content{'action'} =~ /^[CDV]$/ && exists($content{'ORIGID'})
            && defined($content{'ORIGID'}) && length($content{'ORIGID'}) ) {
         push @required, qw(ORIGID);
       } else {