conekta / conekta-php

PHP Bindings for Conekta's API
MIT License
88 stars 43 forks source link

Unhandled exception on Conekta_Resource #17

Closed isaac-rga closed 7 years ago

isaac-rga commented 7 years ago

When excecuting Conekta_Customer::find() with parameter as null or empty string, the instance of Conekta_Resource at function instanceUrl() could not throw Conekta_Error exception.

From console...

[Fri Jul 29 21:09:15 2016] PHP Fatal error: Class 'LANG' not found in /home/peoplecloud/Projects/peopletrack/vendor/conekta/conekta-php/lib/Conekta/Resource.php on line 69

Using Laravel 4.2 this exception is thrown instead...

exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'LANG' not found' in /home/peoplecloud/Projects/peopletrack/vendor/conekta/conekta-php/lib/Conekta/Resource.php:69 Stack trace: #0 [internal function]: Illuminate\Exception\Handler->handleShutdown() #1 {main}

MauricioMurga commented 7 years ago

Hola @isaac-rga, una disculpa por la tardada respuesta. ¿Tienes la librería actualizada? Intenté replicar con la versión más reciente y no pude.

Quedo al pendiente de tus comentarios.

isaac-rga commented 7 years ago

Ya actualizé y ya arroja la exception.

MauricioMurga commented 7 years ago

¡Excelente!, muchas gracias por tu seguimiento. 👍

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.