NAME

Business::OnlinePayment::Cardcom - Cardcom backend module for Business::OnlinePayment

SYNOPSIS

use Business::OnlinePayment::Cardcom;

####
# One step transaction, the simple case.
####

my $tx = new Business::OnlinePayment("Cardcom", 'TerminalNumber'=>1234 );
$tx->content(
    type           => 'CC',
    login          => 'Cardcom Username',
    password       => 'Cardcom Password',
    action         => 'Normal Authorization',
    amount         => '49.95',
    card_number    => '4005550000000019',
    expiration     => '08/06',
    cvv2           => '123',
);
$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

Content required: type, login, password, action, amount, card_number, expiration.

PREREQUISITES

Tie::IxHash

DESCRIPTION

For detailed information see Business::OnlinePayment.

AUTHOR

Original Author: Erik Levinson

Current Maintainer: Ivan Kohler <ivan-cardcom@freeside.biz>

perl(1). Business::OnlinePayment.

ADVERTISEMENT

Need a complete, open-source back-office and customer self-service solution? The Freeside software includes support for credit card and electronic check processing, integrated trouble ticketing, and customer signup and self-service web interfaces.

http://freeside.biz/freeside/