Thiago Berlitz Rondon > Business-CPI-Gateway-MercadoPago-0.100 > Business::CPI::Gateway::MercadoPago

Download:
Business-CPI-Gateway-MercadoPago-0.100.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.100   Source   Latest Release: Business-CPI-Gateway-MercadoPago-0.102

NAME ^

Business::CPI::Gateway::MercadoPago - Business::CPI's Mercado Pago driver

VERSION ^

version 0.100

SYNOPSIS ^

        my $cpi = Business::CPI::Gateway::MercadoPago->new(
        receiver_email => $ENV{'MP_CLIENT_ID'},
        token          => $ENV{'MP_CLIENT_SECRET'},
        currency       => 'BRL',
        back_url       => 'https://com',
        );

        my $cart = $cpi->new_cart({
        buyer => {
                name  => 'Mr. Buyer',
                email => 'sender@andrewalker.net',
        }
        });

        my $item = $cart->add_item({
                id          => 1,
        quantity    => 1,
        price       => 200,
        description => 'my desc'
        });

        $cart->get_checkout_code($shopping_id);

DESCRIPTION ^

Business::CPI::Gateway::MercadoPago, Perl extension to access "Mercado Pago" API.

For more information, see http://developers.mercadopago.com/.

ATTRIBUTES ^

receiver_email

The 'cliente_id' provided by Mercado Pago

token

The 'client_secret' provided by Mercado Pago

back_url

The return URL.

SPONSORED BY ^

Aware - http://www.aware.com.br

SEE ALSO ^

Business::CPI::Gateway::Base

AUTHOR ^

Thiago Rondon <thiago@aware.com.br>

CONTRIBUTOR ^

Carlos Corrêa <cadu.rcorrea@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Thiago Rondon.

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

syntax highlighting: