ssheduardo / redsys-laravel

Package Redsys
MIT License
90 stars 31 forks source link

mcrypt_encrypt is deprecated #17

Closed carlituxman closed 6 years ago

carlituxman commented 6 years ago

With php 7.1 we have error mcrypt_encrypt is deprecated

ssheduardo commented 6 years ago

https://github.com/ssheduardo/redsys-laravel/blob/master/CHANGELOG.md#112-2017-01-27

carlituxman commented 6 years ago

I have problems now with this:ç if(strlen($order) > 0 && strlen($order) <= 12 && is_numeric(substr($order,0,4)) ){ at Tpv.php line 103 with: is_numeric(substr($order,0,4)

why this? my order is: like B1144-89731

why should be numeric substr($order,0,4) ?

ssheduardo commented 6 years ago

The official documentation.

image

https://canales.redsys.es/canales/ayuda/documentacion/Manual%20integracion%20para%20conexion%20por%20Redireccion.pdf

carlituxman commented 6 years ago

aaah ok. thanks!!