MOCK > Business-OnlinePayment-Exact > Business::OnlinePayment::Exact

Download:
Business-OnlinePayment-Exact-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Business::OnlinePayment::Exact - Perl extension for doing credit card processing through the E-xact v7 Web Services API payment gateway.

SYNOPSIS ^

  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 ^

    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 ^

    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 ^

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 ^

mock, <mock@obscurity.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 by mock

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: