Business::CPI::Gateway::MercadoPago - Business::CPI's Mercado Pago driver
version 0.102
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);
Business::CPI::Gateway::MercadoPago, Perl extension to access "Mercado Pago" API.
For more information, see http://developers.mercadopago.com/.
The 'cliente_id' provided by Mercado Pago
The 'client_secret' provided by Mercado Pago
The return URL.
Aware - http://www.aware.com.br
Business::CPI::Gateway::Base
Thiago Rondon <thiago@aware.com.br>
Carlos Corrêa <cadu.rcorrea@gmail.com>
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.
To install Business::CPI::Gateway::MercadoPago, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::CPI::Gateway::MercadoPago
CPAN shell
perl -MCPAN -e shell install Business::CPI::Gateway::MercadoPago
For more information on module installation, please visit the detailed CPAN module installation guide.