Download the PHP package jpblancodb/mercadopago without Composer
On this page you can find all versions of the php package jpblancodb/mercadopago. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mercadopago
MercadoPago
1) Instalacion
a) composer require jpblancodb/mercadopago b) Agregar en config/app en el array de providers
'providers' => [
JPBlancoDB\MercadoPago\MercadoPagoProvider::class
c) Agregar en config/app en el array de aliases:
'aliases' => [
'MercadoPago' => JPBlancoDB\MercadoPago\MercadoPago::class
d) ejecutar "php artisan vendor:publish"
e) agregar en el .env:
MP_CLIENT=
MP_SECRET=
2) Ejemplo de uso:
Usar el facade "MercadoPago":
$preference_data = array(
"items" => array(
array(
"title" => "Title of what you are paying for",
"currency_id" => "ARS",
"category_id" => "Category",
"quantity" => 1,
"unit_price" => 10.2
)
)
);
$preference = MercadoPago::create_preference($preference_data);
All versions of mercadopago with dependencies
PHP Build Version
Package Version
Requires
mercadopago/sdk Version
0.5.2
The package jpblancodb/mercadopago contains the following files
Loading the files please wait ....