gaelv
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Checkout – Redsys TPV Not WorkingNice to hear that ocarol, you are welcome
🙂Forum: Plugins
In reply to: [WooCommerce] Checkout – Redsys TPV Not WorkingHi, I tried the clear new installation various times and didn´t work for me, for those with this problem if new installation dont works
1) Probably is a server side problem click f12 in the page where is the problem and in the console module confirm there is an error, for example in my case if I dont remember wrong it was error 500 reference to indicate that some code cannot be executed by the server.
2) go to your server and review apache errors log, in my case it is ubuntu so I follow this steps.
2.1) go to directory: cd /var/log/apache2/
2.2) list elements of the directory: ls -al
2.3) review some error log: tail -l error.log
Note*: error.log must be the last one or the one we can identificate with our operations in the web store.After step 2.3 you will see a detail list of sequence of errors, in my case was :
PHP Fatal error: Call to undefined function mcrypt_encrypt() in /var/www/wordpress/wp-content/plugins/redsys/apiRedsys/apiRedsysFinal.php on
line 70, referer: http://mywebpage.com/?page_id=8So I went to investigate this error, and I found the solution by executing this two commands.
1) sudo php5enmod mcrypt
2) sudo service apache2 restartEven I have this specific problem It may be the way so others can identificate and solve this kind of errors.
Sorry for the delay I remember to post it with ocarol alert to my mail 🙂
Kind regards.