Business::OnlinePayment::Exact - Perl extension for doing credit card


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

Index


SYNOPSIS

Top

  use Business::OnlinePayment;
  my $tx = new Business::OnlinePayment('Exact');
  $tx->content(
    amount => '19.00',
    card_number => '4200000000000000',
    expiration => '0110',
    name => 'Some Guy',
    action => 'authorization only',
    login => 'A000XX-XX'
    password => 'password'
  );
  $tx->submit;
  if ($tx->is_success()) {
    my $ordernum = $tx->order_number;
    print "Got the cash";
  }
  else {
    print $tx->error_message;
  }

ABSTRACT

Top

    This is a Business::OnlinePayment module for E-xact loosely based on
    Business::OnlinePayment::AuthorizeNet.  I've only used it for normal
    authorization so it may require some work to do pre auth, etc.




DESCRIPTION

Top

    See synopsis.  It works like any other Business::OnlinePayment module.
    The following content keys are usefull:
    login
    password
    amount
    card_number
    expiration
    name
    referer
    email
    address
    order_number
    customer_ip
    action

    The following content keys are also available (but not really usefull):
    'first_name' and 'last_name' will combine to override 'name'
    'expiration_month' and 'expiration_year' will combine to override 
    'expiration'

    The 'authorization' method will return the bank authorization code, and the
    'order_number' method will contain the sequence number from E-xact.
    The content key 'referer' can be used to store any string data (20 bytes)
    and used to search for those transactions from the web interface.

EXPORT

None by default.

SEE ALSO

Top

Business::OnlinePayment SOAP::Lite "Exact Payment WebService Plug-In Programming Reference Guide v7" (which can be found on www.e-xact.com with enough digging)

AUTHOR

Top

mock, <mock@obscurity.org>

COPYRIGHT AND LICENSE

Top


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