PHP code example of jorgelsaud / mercado-pago

1. Go to this page and download the library: Download jorgelsaud/mercado-pago library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jorgelsaud / mercado-pago example snippets


    composer 

    jorgelsaud\MercadoPago\MercadoPagoServiceProvider::class

    'jorgelsaud\MercadoPago\MercadoPagoServiceProviderL4',

    'Mercadopago' => 'jorgelsaud\Mercadopago\Facades\Mercadopago',

	'mercadopago'=>[
	'CLIENT_ID'=>env('MERCADOPAGO_CLIENT_ID', ''),
	'CLIENT_SECRET'=>env('MERCADOPAGO_CLIENT_SECRET', ''),
	'SANDBOXMODE'=>env('MERCADOPAGO_MP_SANDBOXMODE', ''),
	]