Business::CyberSource::Client - User Agent Responsible for transmitting the Response
version 0.010008
use Business::CyberSource::Client; my $request = 'Some Business::CyberSource::Request Object'; my $client = Business::CyberSource::Request->new({ user => 'Merchant ID', pass => 'API KEY', test => 1, }); my $response = $client->run_transaction( $request );
A service object that is meant to provide a way to run the requested transactions.
MooseY::RemoteHelper::Role::Client
my $response = $client->submit( $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 false your requests will go to the live server, when true they will go to the testing server.
Integer value that causes the HTTP request/response to be output to STDOUT when a transaction is run. defaults to value of the environment variable
no output (default)
request/response hashref
1 plus actual HTTP and XML
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 )
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/hostgator/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) 2017 by Caleb Cushing <xenoterracide@gmail.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.