• Resolved alemartinventa

    (@alemartinventa)


    Desde ayer, cuando alguien pagar con tarjeta aparece el mensaje:

    “There has been a critical error on your website.”

    ¨Y no aparecen los botones de pago.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter alemartinventa

    (@alemartinventa)

    I noticed this is happening since I updated to PHP 7.3, but when downgraded again to 7.0 it’s working again.
    How can I make it working for PHP 7.3 or 7.4?

    Plugin Author jesusangel.delpozo

    (@jesusangeldelpozo)

    Hi @alemartinventa,

    It looks like there is some deprecated code in your site that doesn’t work with the newer versions of PHP. I’m not sure though it is in my plugin. Could you please take a look at your Apache’s error log? There you should find what caused the error.

    Kind regards,

    Thread Starter alemartinventa

    (@alemartinventa)

    I updated the official plugin from Redsys and no it’s working with that plugin.

    As far as I learnt, the mencrypt function was deprecated on PHP 7.0 and not it’s needed a new function to encrypt, which Redsys updated in their oficial plugin module.

    Thank you anyway

    Plugin Author jesusangel.delpozo

    (@jesusangeldelpozo)

    Hi @alemartinventa,

    I have checked the code and the mcrypt_encrypt function is only used with PHP version 7.1 or lower. If you use a PHP version greater than 7.1, then the code uses the openssl_encrypt function available trough the OpenSSL PHP extension.

    If you do not have any of the required PHP extensions you will see a warning on the options page.

    Anyway, I’m glad to hear that your payments are working again with the official module.

    Kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stoped Working’ is closed to new replies.