I'm working with CodeIgniter and I need to add the Mercado Pago SDK, the situation is that I have not managed to get CI to work on it, I currently have the SDK in my /libreries
folder and I in my constructor tried to add the SDK as follows:
require_once('application/libraries/MercadoPago/SDK.php');
and throws me an error when I want to use it: $payment = new MercadoPago\Payment();
A PHP Error was encountered
Severity: Error
Message: Class 'MercadoPago\Payment' not found
Filename: controllers/Pagos.php
Someone could help me. Graicas