Replace sermepa by redsys in URLs.
Fix error: log's add method was called without cheking for debug mode.
Changes to fit WooCommerce 2.0 API