AnyMerchant

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

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
    <https://github.com/Shopify/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.

lib/AnyMerchant.pm  view on Meta::CPAN

=head1 NAME

AnyMerchant - A generic and consistent interface for online payment services

=head1 VERSION

version 0.0002

=head1 SYNOPSIS

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

=head1 DESCRIPTION

AnyMerchant is a generic and consistent interface for online payment services.
It is an alternative to L<Business::OnlinePayment>.
The interface for AnyMerchant is based on ruby's
L<Active Merchant|https://github.com/Shopify/active_merchant>.
See L<AnyMerchant::Gateway> for a description of the interface that gateways
should implement.

=head1 METHODS

=head2 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.

=head1 AUTHOR

Naveed Massjouni <naveedm9@gmail.com>

=head1 COPYRIGHT AND LICENSE



( run in 1.013 second using v1.01-cache-2.11-cpan-49f99fa48dc )