diff --git a/wc_gateway_cecabank.php b/wc_gateway_cecabank.php index 89d8dd0..1148d32 100644 --- a/wc_gateway_cecabank.php +++ b/wc_gateway_cecabank.php @@ -682,7 +682,7 @@ public function process_regular_payment( $cecabank_client, $order, $order_id ) { 'Descripcion' => __('Pago del pedido ', 'wc-gateway-cecabank').$order_id, 'Importe' => $order->get_total(), 'URL_OK' => $order_received_url, - 'URL_NOK' => $order->get_cancel_order_url(), + 'URL_NOK' => apply_filters('cecabank_url_no_ok',$order->get_cancel_order_url()), 'datos_acs_20' => base64_encode( str_replace( '[]', '{}', json_encode( $acs ) ) ) ));