GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BUSINESS::ONLINEPAYMENT::CARDSTREAM (3)

.ds Aq ’

NAME

Business::OnlinePayment::Cardstream - Cardstream Plugin for Business::OnlinePayment

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CARDSTREAM (3) 2000-02-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.