-
-
17 Feb 2000 11:55:34 UTC
- Distribution: Business-OnlinePayment-Cardstream
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (48 / 0 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (8.03KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Business::OnlinePayment::Cardstream - Cardstream Plugin for Business::OnlinePayment
SYNOPSIS
use Business::OnlinePayment; my $Cardstream = new Business::OnlinePayment("Cardstream"); $Cardstream->content( type => 'visa', login => 'mylogin', passwd => 'mypassword', action => 'authorise', amount => '5.00', name => 'John Watson', address => '6 Elms, Oak Road.', card_number => '4725444499992827', expiration => '0112' #YYMM ); $Cardstream->submit; if ($Cardstream->is_success) { print "Success, Auth Code is ".$Cardstream->authorization; } else { print "Failed, Error message ".$Cardstream->error_message; } my @RESPONSE = split('\|',$Cardstream->server_response); my %response_hash = @RESPONSE;
Supported Cards
Visa, MasterCard, Switch (Check website for updates)
Switch cards require issue number; $Cardstream->content(issue => '1')
NOTES
Merchant accounts
A Cardstream merchant account is free of charge to set-up. Cardstream operates on a commission basis. Please see http://www.cardstream.com for pricing information, or contact sales@cardstream.com.
Expiration dates
Cardstream.pm requires expiration dates in APACS/30 Standard format, which, unlike what is printed on the card, is YYMM.
server-response
The auth code and error messages are stored into $Cardstream->authorization and $Cardstream->error_message, however should you require more debugging information, server-response contains a pipe delimited hash consisting of the error code, text message from bank...etc.
DESCRIPTION
For detailed information see Business::OnlinePayment.
AUTHOR
Craig R. Belcham, crb@cardstream.com.
SEE ALSO
perl(1). Business::OnlinePayment. http://www.cardstream.com for merchant account information.
Module Install Instructions
To install Business::OnlinePayment::Cardstream, copy and paste the appropriate command in to your terminal.
cpanm Business::OnlinePayment::Cardstream
perl -MCPAN -e shell install Business::OnlinePayment::Cardstream
For more information on module installation, please visit the detailed CPAN module installation guide.