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

NAME

Business::OnlinePayment::E2Payments - E2Payments backend for Business::OnlinePayment

SYNOPSIS

  use Business::OnlinePayment;

  my $tx = new Business::OnlinePayment("E2Payments");
  $tx->content(
      login          => 'test',         #E2P_CLIENT
      password       => 'testpass',     #E2P_PASSWORD
      description    => '138456: Fried Wombat & Tomato Sauce',
      amount         => '49.95',
      name           => 'Bertie Beatle',
      card_number    => '1234123412341234',
      exp_date       => '09/02'      
  );
  $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.

NOTE

COMPATIBILITY

This module implements E2Payments API Version 1 (Simple Transaction Mode). See http://www.e2.com.au/ for further subscription details

AUTHOR

Aidan Mountford <aidan@oz.to>

SEE ALSO

perl(1). Business::OnlinePayment.