The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::OnlinePayment::NMI - Network Merchants backend for Business::OnlinePayment

SYNOPSIS

  use Business::OnlinePayment;

  my $tx = new Business::OnlinePayment("NMI");
  $tx->content(
      login          => 'mylogin',
      password       => 'mypass',
      action         => 'Normal Authorization',
      description    => 'Business::OnlinePayment test',
      amount         => '49.95',
      invoice_number => '100100',
      name           => 'Tofu Beast',
      card_number    => '46464646464646',
      expiration     => '11/08',
      address        => '1234 Bean Curd Lane, San Francisco',
      zip            => '94102',
  );
  $tx->submit();

  if($tx->is_success()) {
      print "Card processed successfully: ".$tx->authorization."\n";
  } else {
      print "Card was rejected: ".$tx->error_message."\n";
  }

DESCRIPTION

For detailed information see Business::OnlinePayment.

SUPPORTED TRANSACTION TYPES

Credit Card

Normal Authorization, Authorization Only, Post Authorization, Void, Credit.

Check

Normal Authorization, Void, Credit.

NOTES

Credit is handled using NMI's 'refund' action, which applies the credit against a specific payment.

Post Authorization, Void, and Credit require order_number to be set with the transaction ID of the previous authorization.

COMPATIBILITY

This module implements the NMI Direct Post API, June 2007 revision.

AUTHOR

Mark Wells <mark@freeside.biz>

Based in part on Business::OnlinePayment::USAePay by Jeff Finucane <jeff@cmh.net>.

SEE ALSO

perl(1). Business::OnlinePayment.

ADVERTISEMENT

Need a complete, open-source back-office and customer self-service solution? The Freeside software includes support for credit card and electronic check processing, integrated trouble ticketing, and customer signup and self-service web interfaces.

http://freeside.biz/freeside/