Wallace Reis > Business-OnlinePayment-Iridium-0.06 > Business::OnlinePayment::Iridium

Download:
Business-OnlinePayment-Iridium-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.06   Source   Latest Release: Business-OnlinePayment-Iridium-0.11

NAME ^

Business::OnlinePayment::Iridium - Iridium backend for Business::OnlinePayment

SYNOPSIS ^

  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";
  }

DESCRIPTION ^

Backend that allows you to easily make payments via the Iridium system.

METHODS ^

get_entry_points

NOTE: Not supported yet.

Returns the details of all the gateway entry points.

get_card_type

This allows the merchant to determine the card type of the card in question.

submit

reference_transaction

submit_3d

test_transaction

Please note that ONLY test card details provided in docs will work in test mode - real card numbers will NOT work.

is_success

Returns true if the transaction was submitted successfully, false if it failed (or undef if it has not been submitted yet).

result_code

Returns the StatusCode.

error_message

If the transaction has been submitted but was not accepted, this function will return the provided error message (if any).

authorization

If the transaction has been submitted and accepted, this function will provide you with the authorization code.

BUGS ^

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.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Business::OnlinePayment::Iridium

You can also look for information at:

SEE ALSO ^

Business::OnlinePayment

AUTHOR ^

  wreis: Wallace Reis <reis.wallace@gmail.com>

ACKNOWLEDGEMENTS ^

  To Airspace Software Ltd <http://www.airspace.co.uk>, for the sponsorship.

  To Simon Elliott, for comments and questioning the design.

LICENSE ^

  This library is free software under the same license as perl itself.
syntax highlighting: