NAME

AnyMerchant - A generic and consistent interface for online payment services

VERSION

version 0.0002

SYNOPSIS

my $gateway = AnyMerchant->gateway('Balanced', password => 'abc123');

DESCRIPTION

AnyMerchant is a generic and consistent interface for online payment services. It is an alternative to Business::OnlinePayment. The interface for AnyMerchant is based on ruby's Active Merchant. See AnyMerchant::Gateway for a description of the interface that gateways should implement.

METHODS

gateway

my $gateway = AnyMerchant->gateway('Balanced', password => 'abc123');

This is a static factory method that creates an AnyMerchant::Gateway::* object, validates its interface, and returns it. In the above example, an AnyMerchant::Gateway::Balanced object is returned.

AUTHOR

Naveed Massjouni <naveedm9@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Naveed Massjouni.

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