Ivan Kohler > Business-OnlinePayment-eSec-0.02 > Business::OnlinePayment::eSec

Download:
Business-OnlinePayment-eSec-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Business::OnlinePayment::eSec - eSec backend for Business::OnlinePayment

SYNOPSIS ^

  use Business::OnlinePayment;

  my $tx = new Business::OnlinePayment("eSec");
  $tx->content(
      type           => 'CC',
      login          => 'test', #EPS_MERCHANT
      action         => 'Authorization Only',
      description    => 'Business::OnlinePayment test',
      amount         => '49.95',
      invoice_number => '100100',
      name           => 'Tofu Beast',
      card_number    => '4007000000027',
      expiration     => '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 eSec's API verison 2. See http://www.esec.com.au/sep/content/eps_support/integrate/integrate_use.html for details.

AUTHOR ^

Ivan Kohler <ivan-esec@420.am>

SEE ALSO ^

perl(1). Business::OnlinePayment.

syntax highlighting: