Business::OnlinePayment::TransactionCentral(3pm)

Business::OnlinePayment::TransactionCentral3pm

Transaction central backend module for business::onlinepayment

Usage

  use Business::OnlinePayment;
  ####
  # One step transaction, the simple case.
  ####
  my $tx = new Business::OnlinePayment("TransactionCentral");
  $tx->content(
      type           => 'CC',
      login          => '10011', #MerchantID
      password       => 'KK48NPYEJHMAH6DK', #Regkey
      action         => 'Normal Authorization',
      description    => 'Business::OnlinePayment test',
      amount         => '49.95',
      name           => 'Tofu Beast',
      address        => '123 Anystreet',
      city           => 'Anywhere',
      state          => 'UT',
      zip            => '84058',
      phone          => '420-867-5309',
      email          => '[email protected]',
      card_number    => '4012000000001',
      expiration     => '08/06',
      cvv2           => '1234', #optional
  );
  $tx->submit();
  if($tx->is_success()) {
      print "Card processed successfully: ".$tx->authorization."\n";
  } else {
      print "Card was rejected: ".$tx->error_message."\n";
  }
=head1 DESCRIPTION

This is a Business::OnlinePayment backend module for the Transaction Central (MerchantAnywhere, PRIMerchants) gateway. It is only useful if you have a merchant account with MerchantAnywhere / PRIMerchants:

http://www.merchantanywhere.com/ http://www.merchantanywhere.com/ecshop/TC_elink.htm

http://www.primerchants.com/ http://www.primerchants.com/info/transactioncentral.asp

Supported transaction types

CC, Visa, MasterCard, American Express, Discover

Content required: type, login, password, action, amount, card_number, expiration, name, address, zip.

Echeck

Content required: type, login, password, action, amount, account_number, routing_code, name

Prerequisites

  URI::Escape
  Net::SSLeay _or_ ( Crypt::SSLeay and LWP )

Overview

For detailed information see Business::OnlinePayment.

Note

The newest publicly available documentation is available at:

http://www.merchantanywhere.com/ecshop/TC%20Interface%20NEW.pdf

It is somewhat out-of-date and contains a few discrepancies. Google "TCInterfaceGuide" for current documentation.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0–7
  2. 8–9
  3. 10–11
  4. 12–13

Author

Ivan Kohler <[email protected]>

From libbusiness-onlinepayment-transactioncentral-perl 0.06-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.