Business::CyberSource::Client - User Agent Responsible for transmitting the Response
version 0.006008
use Business::CyberSource::Client; my $request = 'Some Business::CyberSource::Request Object'; my $client = Business::CyberSource::Request->new({ username => 'Merchant ID', password => 'API KEY', production => 0, }); my $response = $client->run_transaction( $request );
A service object that is meant to provide a way to run the requested transactions.
my $response = $client->run_transaction( $request );
Takes a Business::CyberSource::Request subclass as a parameter and returns a Business::CyberSource::Response
CyberSource Merchant ID
CyberSource API KEY
Boolean value when true your requests will go to the production server, when false they will go to the testing server
Boolean value that causes the HTTP request/response to be output to STDOUT when a transaction is run. defaults to value of the environment variable PERL_BUSINESS_CYBERSOURCE_DEBUG
PERL_BUSINESS_CYBERSOURCE_DEBUG
ArrayRef of Rule Names. Rules names are modules prefixed by Business::CyberSource::Rule. By default both Business::CyberSource::Rule::ExpiredCard and Business::CyberSource::Rule::RequestIDisZero are included. If you decide to add more rules remember to add qw( ExpiredCard RequestIDisZero ) to the new ArrayRef ( if you want them ).
qw( ExpiredCard RequestIDisZero )
Package name for dumping the request hash if doing a debug. Package must have a Dumper function.
Dumper
Client Name defaults to Business::CyberSource
Client Version defaults to the version of this library
defaults to specific parts of perl's config hash
A Path::Class::File to the WSDL definition file
A Path::Class::File to the XSD definition file
CyberSource API version, currently 1.71
Please report any bugs or feature requests on the bugtracker website https://github.com/xenoterracide/Business-CyberSource/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Caleb Cushing <xenoterracide@gmail.com>
This software is Copyright (c) 2012 by HostGator.com.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Business::CyberSource, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::CyberSource
CPAN shell
perl -MCPAN -e shell install Business::CyberSource
For more information on module installation, please visit the detailed CPAN module installation guide.