The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

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

CONFIGURATION

Configuration for AuthorizeNet provider:

plugins:
Interchange6:
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.

payment_order

Payment order object.

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_code

Returns error code in case of payment failure.

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-2016 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.