Business::CyberSource::RequestPart::Card - Credit Card Helper Class
version 0.006013
This is the Credit Card Number
my $card = Business::CyberSource::RequestPart::Card->new({ account_number => '4111111111111111', expiration => { year => '2025', month => '04', }, });
A DateTime object, you should construct it by passing a hashref with keys for month, and year, it will actually contain the last day of that month/year. You can pass a DateTime object, as long as it was built using the last_day_of_month factory method.
The 3 digit security number on the back of the card.
The full name of the card holder as printed on the card.
Boolean, returns true if the card is older than expiration date plus one day. This is done to compensate for unknown issuer time zones as we can't be sure that all issuers shut cards of on the first of every month UTC. In fact I have been told that some issuers will allow renewed cards to be run with expired dates. Use this at your discretion.
Boolean, true if the security code was passed.
The card issuer, e.g. VISA, MasterCard. it is generated from the card number.
Type of card to authorize. This should be auto detected, but if it's not you can specify the value manually.
Possible values:
European regional brand of MasterCard
see Discover Acquisitions and Alliances.
use this value only for Global Collect. For other processors, use 001 for all Visa card types.
before setting up your system to work with Santander cards, contact the CyberSource UK Support Group.
Business::CyberSource::MessagePart
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.