-
-
21 Aug 2013 19:04:16 UTC
- Distribution: Business-OnlinePayment-eSelectPlus
- Module version: 0.07
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (139 / 70 / 0)
- Kwalitee
Bus factor: 1- 26.11% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (7.67KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Ivan Kohler
- Dependencies
- Business::OnlinePayment
- Tie::IxHash
- URI::Escape
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Business::OnlinePayment::eSelectPlus - Moneris eSelect Plus backend module for Business::OnlinePayment
SYNOPSIS
use Business::OnlinePayment; #### # One step transaction, the simple case. #### my $tx = new Business::OnlinePayment("eSelectPlus"); $tx->content( type => 'VISA', login => 'eSelect Store ID, password => 'eSelect API Token', action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', currency => 'USD', #or CAD for compatibility with previous releases name => 'Tofu Beast', address => '123 Anystreet', city => 'Anywhere', state => 'UT', zip => '84058', phone => '420-867-5309', email => 'tofu.beast@example.com', card_number => '4005550000000019', 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"; } print "AVS code: ". $tx->avs_code. "\n"; # Y - Address and ZIP match # A - Address matches but not ZIP # Z - ZIP matches but not address # N - no match # E - AVS error or unsupported # R - Retry (timeout) # (empty) - not verified
SUPPORTED TRANSACTION TYPES
CC, Visa, MasterCard, American Express, Discover
Content required: type, login, password, action, amount, card_number, expiration.
PREREQUISITES
URI::Escape Tie::IxHash Net::SSLeay _or_ ( Crypt::SSLeay and LWP )
DESCRIPTION
For detailed information see Business::OnlinePayment.
NOTES
Note for Canadian merchants upgrading to 0.03
As of version 0.03, this module now defaults to the US Moneris. Make sure to pass currency=>'CAD' for Canadian transactions.
Note for upgrading to 0.05
As of version 0.05, the bank authorization code is discarded (AuthCode), so that authorization() and order_number() can return the 2 fields needed for capture. See also cpansearch.perl.org/src/IVAN/Business-OnlinePayment-3.02/notes_for_module_writers_v3
AUTHOR
Ivan Kohler <ivan-eselectplus@420.am> Randall Whitman whizman.com
SEE ALSO
perl(1). Business::OnlinePayment.
Module Install Instructions
To install Business::OnlinePayment::eSelectPlus, copy and paste the appropriate command in to your terminal.
cpanm Business::OnlinePayment::eSelectPlus
perl -MCPAN -e shell install Business::OnlinePayment::eSelectPlus
For more information on module installation, please visit the detailed CPAN module installation guide.