NAME

Business::OnlinePayment::Jety - Jety Payments ACH backend for Business::OnlinePayment

SYNOPSIS

use Business::OnlinePayment;

####
# Electronic check authorization.
####

my $tx = new Business::OnlinePayment("Jety");
$tx->content(
    type           => 'ECHECK',
    login          => 'testdrive',
    password       => 'testpass',
    action         => 'Normal Authorization',
    description    => '111-111-1111 www.example.com',
    amount         => '49.95',
    invoice_number => '100100',
    first_name     => 'Jason',
    last_name      => 'Kohles',
    address        => '123 Anystreet',
    city           => 'Anywhere',
    state          => 'UT',
    zip            => '84058',
    account_type   => 'personal checking',
    account_number => '1000468551234',
    routing_code   => '707010024',
    check_number   => '1001', # optional
);
$tx->submit();

if($tx->is_success()) {
    print "Check processed successfully: ".$tx->authorization."\n";
} else {
    print "Check was rejected: ".$tx->error_message."\n";
}

SUPPORTED TRANSACTION TYPES

ECHECK

Content required: type, login, password, action, amount, first_name, last_name, account_number, routing_code, description.

description should be set in the form "111-111-1111 www.example.com"

DESCRIPTION

For detailed information see Business::OnlinePayment.

METHODS AND FUNCTIONS

See Business::OnlinePayment for the complete list. The following methods either override the methods in Business::OnlinePayment or provide additional functions.

result_code

Returns the four-digit result code.

error_message

Returns a useful error message.

Handling of content(%content) data:

action

The following actions are valid:

Normal Authorization
Void
Credit

AUTHOR

Mark Wells <mark@freeside.biz>

SEE ALSO

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/