Help for this page

Select Code to Download


  1. or download this
    my $respCodes = $processor->delayedCapture( 
               CCTYPE => $row->{debitacct},                               
    +                          
    ...
    
    croak "Failed authorization for TXID $row->{txid} " 
       unless ( $respCodes->{SUCCESS} == 1 );
    
  2. or download this
       return { SUCCESS => $response->{RESULT} == 0,
                MESSAGE => $response->{RESPMSG},
    ...
          TOTAL_PAYMENT => $params{AMOUNT},
          CHECK_DETAILS => $checkInfo,
                };
    
  3. or download this
       return { SUCCESS => ( defined $response->{RESULT} && $response->{RE
    +SULT} == 0 ),
     ....