The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::OnlinePayment::Iridium - PayVector (Iridium) backend for Business::OnlinePayment

VERSION

version 1.03

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, which has now been rebranded to PayVector.

FIELD_MAP

Map convenient field names to PayVector SOAP string names

ACTION_MAP

A convenient way to set the transaction type

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>

  ghenry: Gavin Henry <ghenry@suretecsystems.com>

ACKNOWLEDGEMENTS

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

  To Simon Elliott, for comments and questioning the design.

COPYRIGHT

Copyright (C) 2008 wreis: Wallace Reis <reis.wallace@gmail.com> Copyright (C) 2017 ghenry: Gavin Henry <ghenry@suretecsystems.com>

LICENSE

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

AUTHOR

[ 'Gavin Henry <ghenry@surevoip.co.uk>', 'Wallace Reis <reis.wallace@gmail.com>' ]

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by [ 'Gavin Henry', 'Wallace Reis' ].

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.