The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Business::OnlinePayment::USAePay - USA ePay backend for Business::OnlinePayment

SYNOPSIS

  use Business::OnlinePayment;

  my $tx = new Business::OnlinePayment("USAePay");
  $tx->content(
      login          => 'igztOatyqbpd1wsxijl4xnxjodldwdxR', #USAePay source key
      password       => 'abcdef', #USAePay PIN
      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.

COMPATIBILITY

This module was developed against USAePay's CGI Gateway API v2.9.5 and also tested against v2.17.1 without problems. See http://www.usaepay.com/topics/api.html for details.

AUTHOR

Original author: Jeff Finucane <jeff@cmh.net>

0.02 update and current maintainer: Ivan Kohler <ivan-usaepay@freeside.biz>

COPYRIGHT & LICENSE

Copyright (C) 2011 Freeside Internet Services, Inc. (http://freeside.biz/)

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

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 with USAePay and over 50 other gateways, invoicing, credit card and electronic check processing, integrated trouble ticketing, and customer signup and self-service web interfaces.

http://freeside.biz/freeside/

SEE ALSO

perl(1). Business::OnlinePayment.