Stefan Hornburg (Racke) > Dancer-Plugin-Nitesi-0.0098 > Dancer::Plugin::Nitesi::Business::OnlinePayment

Download:
Dancer-Plugin-Nitesi-0.0098.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Dancer-Plugin-Nitesi-0.0099

NAME ^

Dancer::Plugin::Nitesi::Business::OnlinePayment - Nitesi wrapper for Business:OnlinePayment

CONFIGURATION ^

Configuration for AuthorizeNet provider:

  plugins:
    Nitesi:
      Payment:
        default_provider: AuthorizeNet
        providers:
          AuthorizeNet:
            login: <API Login ID>
            password: <Transaction Key>

If you use a test account, please add the following parameters:

            test_transaction: 1
            server: test.authorize.net

ATTRIBUTES ^

provider

Payment provider.

provider_args

Payment provider settings, like login and password.

is_success

True if the payment was successful, false otherwise.

authorization

Returns authorization code from provider after a successful payment.

order_number

Returns unique order number from provider after a successful payment.

error_message

Returns error message in case of payment failure.

METHODS ^

charge

Performs charge transaction with payment provider.

AUTHOR ^

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT ^

Copyright 2012-2013 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: