-
-
07 Jun 2013 23:01:10 UTC
- Distribution: Business-OnlinePayment-PaperlessTrans
- Module version: 0.001006
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (200 / 0 / 0)
- Kwalitee
Bus factor: 1- 90.00% Coverage
- License: artistic_2
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (39.05KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Business::OnlinePayment::PaperlessTrans - Interface to Paperless Transaction Corporation BackOffice API
VERSION
version 0.001006
SYNOPSIS
use Try::Tiny; use Business::OnlinePayment; my $tx = Business::OnlinePayment->new('PaperlessTrans'); $tx->test_transaction(1); $tx->content( login => 'TerminalID', password => 'TerminalKey', debug => '1', # 0, 1, 2 type => 'ECHECK', action => 'Normal Authorization', check_number => '132', amount => 1.32, currency => 'USD', routing_code => 111111118, account_name => 'Caleb Cushing',, account_number => 12121214, name => 'Caleb Cushing', address => '400 E. Royal Lane #201', city => 'Irving', state => 'TX', zip => '75039-2291', country => 'US', ); try { $tx->submit; } catch { # log errors }; if ( $tx->is_success ) { # do stuff with $tx->order_number; $tx->authorization; } else { # log $tx->error_message; } # start all over again credit cards $tx->content( login => 'TerminalID', password => 'TerminalKey', debug => '1', # 0, 1, 2 type => 'CC', action => 'Authorization Only', amount => 1.00, currency => 'USD', name => 'Caleb Cushing', card_number => '5454545454545454', expiration => '1215', cvv2 => '111', ); ## ...
SEE ALSO
AUTHOR
Caleb Cushing <xenoterracide@gmail.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Module Install Instructions
To install Business::OnlinePayment::PaperlessTrans, copy and paste the appropriate command in to your terminal.
cpanm Business::OnlinePayment::PaperlessTrans
perl -MCPAN -e shell install Business::OnlinePayment::PaperlessTrans
For more information on module installation, please visit the detailed CPAN module installation guide.