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

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

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02   Source  

NAME ^

Business::OnlinePayment::PaymentsGateway - PaymentsGateway.Net backend for Business::OnlinePayment

SYNOPSIS ^

  use Business::OnlinePayment;

  my $tx = new Business::OnlinePayment("PaymentsGateway");
  $tx->content(
      type           => 'CHECK',
      login          => 'test',
      password       => 'test',
      action         => 'Normal Authorization',
      description    => 'Business::OnlinePayment test',
      amount         => '49.95',
      invoice_number => '100100',
      name           => 'Tofu Beast',
      account_number => '12345',
      routing_code   => '123456789',
      bank_name      => 'First National Test Bank',
  );
  $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 ^

This module only implements 'ECHECK' (ACH) transactions at this time. Credit card transactions are not (yet) supported.

COMPATIBILITY ^

This module implements the interface documented in the "PaymentsGateway.net Integration Guide, Version 2.1, September 2002"

AUTHOR ^

Ivan Kohler <ivan-paymentsgateway@420.am>

SEE ALSO ^

perl(1). Business::OnlinePayment