Business-OnlinePayment-ElavonVirtualMerchant
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
ElavonVirtualMerchant.pm view on Meta::CPAN
if($tx->is_success()) {
print "Card processed successfully: ".$tx->authorization."\n";
} else {
print "Card was rejected: ".$tx->error_message."\n";
}
=head1 DESCRIPTION
This module lets you use the Elavon (formerly Nova Information Systems) Virtual Merchant real-time payment gateway, a successor to viaKlix, from an application that uses the Business::OnlinePayment interface.
You need an account with Elavon. Elavon uses a three-part set of credentials to allow you to configure multiple 'virtual terminals'. Since Business::OnlinePayment only passes a login and password with each transaction, you must pass the third item,...
Elavon offers a number of transaction types, including electronic gift card operations and 'PINless debit'. Of these, only credit card transactions fit the Business::OnlinePayment model.
Since the Virtual Merchant API is just a newer version of the viaKlix API, this module subclasses Business::OnlinePayment::viaKlix.
This module does not use Elavon's XML encoding as this doesn't appear to offer any benefit over the standard encoding.
=head1 SUBROUTINES
=head2 set_defaults
Business::OnlinePayment::HTTPS
TESTING
You can test against the Elavon demo server by setting the environment variables:
ELAVON_SERVER=demo.myvirtualmerchant.com
ELAVON_PATH=/VirtualMerchantDemo/process.do (The path is not the same as on the live server.)
ELAVON_ACCOUNT and ELAVON_USERID will be the user ID allocated to you by Elavon's internet support group.
ELAVON_PASSWORD will be the PIN for that user set when you log into the demo server control panel.
DEBUG can be set to a variety of values. 0 suppresses most information, while 10 gives you a lot of information about what's being sent and received. This can reveal that you don't have Crypt::SSLeay installed, or your login credentials are wrong.
COPYRIGHT AND LICENCE
Copyright (C) 2009-2011 by Richard Siddall
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.8 or,
at your option, any later version of Perl 5 you may have available.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.379 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )