From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Business::OnlinePayment::FirstDataGlobalGateway - First Data Global Gateway e4 backend for Business::OnlinePayment

SYNOPSIS

my $tx =
new Business::OnlinePayment( 'FirstDataGlobalGateway' );
$tx->content(
login => 'TEST88', # ExactID
password => 'TEST88', #password
type => 'CC',
action => 'Normal Authorization',
amount => '1.00',
first_name => 'Tofu',
last_name => 'Beast',
address => '123 Anystreet',
city => 'Anywhere',
state => 'UT',
zip => '84058',
card_number => '4111111111111111',
expiration => '09/20',
cvv2 => '124',
#optional
customer_ip => '1.2.3.4',
);
$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, action, amount, card_number, expiration.

(NOT YET) Check

Content required: type, login, action, amount, name, account_number, routing_code.

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 response error code.

error_message

Returns the response error number.

action

The following actions are valid

Normal Authorization
Authorization Only
Post Authorization
Credit
Void

COMPATIBILITY

Business::OnlinePayment::FirstDataGlobalGateway uses the v11 version of the API at this time.

AUTHORS

Ivan Kohler <ivan-firstdataglobalgateway@freeside.biz>

SEE ALSO

perl(1). Business::OnlinePayment.