I'm having a problem generating a charge from an internal application with the MP button.
Previously I was throwing an error in line 508, which I could "correct", but now, when executing said button, it throws me the error:
Fatal error: Wrong parameters for Exception ([string $ exception [ long $ code]]) in C: \ xampp \ htdocs \ cc \ sdk-php-master \ lib \ mercadopago.php on line 576 "
private static function build_request ($ request) { if (! extension_loaded ("curl")) { throw new MercadoPagoException ("cURL extension not found. You need to enable cURL in your php.ini or another configuration you have."); }
The truth that I went through all the sites, but with none came to the solution.
What am I doing wrong?