Tim McIntyre > Business-OnlinePayment-MerchantCommerce > Business::OnlinePayment::MerchantCommerce

Download:
Business-OnlinePayment-MerchantCommerce-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Business::OnlinePayment::MerchantCommerce

SYNOPSIS ^

  use Business::OnlinePayment;

  my $transaction = new Business::OnlinePayment("MerchantCommerce");
  $transaction->content(type        => 'VISA',
                        login       => '12345',
                        action      => 'Normal Authorization',
                        amount      => '5.00',
                        name        => 'Tim McIntyre',
                        card_number => '5454545454545454',
                        exp_date    => '12/2005');
  $transacton->submit;

  if($transaction->is_success) {
      print "Success! Authorization Code: " . $transaction->authorization."\n";
  } else {
      print "Failure!: " . $transaction->error_message."\n";
  }

DESCRIPTION ^

Merchant Commerce backend for Business::OnlinePayment. Please see Buisness::OnlinePayment for details.

Supported transaction types

Visa, MasterCard, American Express, Discover, Check

Required content for all transactions

Additionally required content for credit cards

Optional content for credit cards

Additionally required content for checks

Optional content for all transactons

Content not supported

Methods

Please Note

If any of the following three methods are ever set it essentially means that you have found a bug in this module. If you should decide to use them and you find that they are set please email me the string returned from the conversation method so that I can determine the problem. Better yet fix it and send me that. If you decide not to use them you should be fine.

AUTHOR ^

Tim McIntyre, tmac@transport.com

DISCLAIMER ^

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO ^

perl(1) Business::OnlinePayment

syntax highlighting: