SDK Market Payment in CodeIgniter


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:


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

asked by Alfonso Carrasco 15.11.2018 в 23:20

0 answers