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


Business-OnlinePayment-Iridium documentation  | view source Contained in the Business-OnlinePayment-Iridium distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  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

Top

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

METHODS

Top

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

Top

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

Top

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

    perldoc Business::OnlinePayment::Iridium

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-OnlinePayment-Iridium

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Business-OnlinePayment-Iridium

* CPAN Ratings

http://cpanratings.perl.org/d/Business-OnlinePayment-Iridium

* Search CPAN

http://search.cpan.org/dist/Business-OnlinePayment-Iridium

SEE ALSO

Top

Business::OnlinePayment

AUTHOR

Top

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

  ghenry: Gavin Henry <ghenry@suretecsystems.com>

ACKNOWLEDGEMENTS

Top

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

  To Simon Elliott, for comments and questioning the design.

COPYRIGHT

Top

LICENSE

Top

  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.