-
-
13 Oct 2005 05:54:04 UTC
- Distribution: Business-OnlinePayment-Capstone
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (0 / 382 / 0)
- Kwalitee
Bus factor: 1- 33.06% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (4.63KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Business::OnlinePayment::Capstone - CapstonePay backend module for Business::OnlinePayment
SYNOPSIS
use Business::OnlinePayment; #### # One step transaction, the simple case. #### my $tx = new Business::OnlinePayment("Capstone"); $tx->content( type => 'VISA', login => 'Merchant ID', password => 'API password', action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', name => 'Tofu Beast', address => '123 Anystreet', city => 'Anywhere', state => 'UT', zip => '84058', phone => '420-867-5309', email => 'tofu.beast@example.com', card_number => '4005550000000019', expiration => '08/06', card_start => '05/04', #switch/solo issue_number => '5678', # cvv2 => '1234', #optional ); $tx->submit(); if($tx->is_success()) { print "Card processed successfully: ".$tx->authorization."\n"; } else { print "Card was rejected: ".$tx->error_message."\n"; }
SUPPORTED TRANSACTION TYPES
CC, Visa, MasterCard, American Express, Discover
Content required: type, login, password, action, amount, card_number, expiration.
PREREQUISITES
URI::Escape #Tie::IxHash Net::SSLeay _or_ ( Crypt::SSLeay and LWP )
DESCRIPTION
For detailed information see Business::OnlinePayment.
NOTE
AUTHOR
Ivan Kohler <ivan-capstone@420.am>
SEE ALSO
perl(1). Business::OnlinePayment.
Module Install Instructions
To install Business::OnlinePayment::Capstone, copy and paste the appropriate command in to your terminal.
cpanm Business::OnlinePayment::Capstone
perl -MCPAN -e shell install Business::OnlinePayment::Capstone
For more information on module installation, please visit the detailed CPAN module installation guide.