The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Business::OnlinePayment::StGeorge - St.George Bank backend for Business::OnlinePayment

SYNOPSIS

use Business::OnlinePayment;

my $tx = new Business::OnlinePayment( 'StGeorge',
  'cert_path'     => '/home/StGeorge/client.cert',
);

$tx->content(
    login          => '10000000', #The Client ID issued to you
    password       => 'w0rd', #The password protecting your certificate file
    type           => 'VISA',
    action         => 'Normal Authorization',
    description    => 'Business::OnlinePayment test',
    amount         => '49.95',
    invoice_number => '100100',
    customer_id    => 'jsk',
    name           => 'Jason Kohles',
    address        => '123 Anystreet',
    city           => 'Anywhere',
    state          => 'UT',
    zip            => '84058',
    email          => 'ivan-stgeorge@420.am',
    card_number    => '4007000000027',
    expiration     => '09/99',
);
$tx->submit();

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

SUPPORTED TRANSCTION TYPES

CC, Visa, MasterCard, American Express, Discover

DESCRIPTION

For detailed information see Business::OnlinePayment.

COMPATIBILITY

This module implements an interface to the St. George Bank Internet Payment Gateway Perl API.

https://www.ipg.stgeorge.com.au/

This module has been developed against webpayPerl version 2.8

BUGS

AUTHOR

Ivan Kohler <ivan-stgeorge@420.am>

Based on Busienss::OnlinePayment::AuthorizeNet written by Jason Kohles.

SEE ALSO

perl(1), Business::OnlinePayment.