Business::OnlinePayment::Protx - Protx backend for Business::OnlinePayment


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

Index


NAME

Top

Business::OnlinePayment::Protx - Protx backend for Business::OnlinePayment

VERSION

Top

version 0.06

SYNOPSIS

Top

  use Business::OnlinePayment;

  my $tx = Business::OnlinePayment->new(
      "Protx",
      "username"  => "abc",
  );

  $tx->content(
      type           => 'VISA',
      login          => 'testdrive',
      password       => '',
      action         => 'Normal Authorization',
      description    => 'Business::OnlinePayment test',
      amount         => '49.95',
      invoice_number => '100100',
      customer_id    => 'jsk',
      first_name     => 'Jason',
      last_name      => 'Kohles',
      address        => '123 Anystreet',
      city           => 'Anywhere',
      state          => 'UT',
      zip            => '84058',
      card_number    => '4007000000027',
      expiration     => '09/02',
      cvv2           => '1234', #optional
      referer        => 'http://valid.referer.url/',
  );

  $tx->set_server('simulator'); #live, simulator or test(default)

  $tx->submit();

   if ($tx->is_success) {
       print "Card processed successfully: " . $tx->authorization . "\n";
   } else {
       print "Card was rejected: " . $tx->error_message . "\n";
   }

DESCRIPTION

Top

This perl module provides integration with the Protx VSP payments system.

BUGS

Top

Please report any bugs or feature requests to bug-business-onlinepayment-protx at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-OnlinePayment-Protx. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Business::OnlinePayment::Protx

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-OnlinePayment-Protx

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Business-OnlinePayment-Protx

* CPAN Ratings

http://cpanratings.perl.org/d/Business-OnlinePayment-Protx

* Search CPAN

http://search.cpan.org/dist/Business-OnlinePayment-Protx

SEE ALSO

Top

Business::OnlinePayment

AUTHOR

Top

  purge: Simon Elliott <cpan@browsing.co.uk>

ACKNOWLEDGEMENTS

Top

  To Airspace Software Ltd <http://www.airspace.co.uk>, for the sponsorship.

  To Wallace Reis, for comments and patches.

LICENSE

Top

  This library is free software under the same license as perl itself.


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