| Business-OnlinePayment-Iridium documentation | view source | Contained in the Business-OnlinePayment-Iridium distribution. |
Business::OnlinePayment::Iridium - Iridium backend for Business::OnlinePayment
use Business::OnlinePayment;
my $tx = Business::OnlinePayment->new('Iridium');
$tx->content(
'login' => 'MerchantID',
'password' => 'Password',
'card_number' => '4976000000003436',
'name_on_card' => 'John Watson',
'expiration' => '12/12',
'cv2' => '242',
'invoice_number' => 'TUID',
'amount' => '123.23',
'action' => 'normal authorization'
);
$tx->submit;
if ($tx->is_success) {
print "Card processed successfully: " . $tx->authorization . "\n";
} else {
print "Card was rejected: " . $tx->error_message . "\n";
}
Backend that allows you to easily make payments via the Iridium system.
NOTE: Not supported yet.
Returns the details of all the gateway entry points.
This allows the merchant to determine the card type of the card in question.
Please note that ONLY test card details provided in docs will work in test mode - real card numbers will NOT work.
Returns true if the transaction was submitted successfully, false if it failed (or undef if it has not been submitted yet).
Returns the StatusCode.
If the transaction has been submitted but was not accepted, this function will return the provided error message (if any).
Please report any bugs or feature requests to bug-business-onlinepayment-iridium at rt.cpan.org, or through
the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-OnlinePayment-Iridium. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Business::OnlinePayment::Iridium
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-OnlinePayment-Iridium
http://cpanratings.perl.org/d/Business-OnlinePayment-Iridium
wreis: Wallace Reis <reis.wallace@gmail.com> ghenry: Gavin Henry <ghenry@suretecsystems.com>
To Airspace Software Ltd <http://www.airspace.co.uk>, for the sponsorship. To Simon Elliott, for comments and questioning the design.
Copyright (C) 2008 wreis: Wallace Reis <reis.wallace@gmail.com> Copyright (C) 2010 ghenry: Gavin Henry <ghenry@suretecsystems.com>
This library is free software under the same license as perl itself.
| Business-OnlinePayment-Iridium documentation | view source | Contained in the Business-OnlinePayment-Iridium distribution. |