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


Business-OnlinePayment-PaymentsGateway documentation  | view source Contained in the Business-OnlinePayment-PaymentsGateway distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

For detailed information see Business::OnlinePayment.

NOTE

Top

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

COMPATIBILITY

Top

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

AUTHOR

Top

Ivan Kohler <ivan-paymentsgateway@420.am>

SEE ALSO

Top

perl(1). Business::OnlinePayment


Business-OnlinePayment-PaymentsGateway documentation  | view source Contained in the Business-OnlinePayment-PaymentsGateway distribution.