• Hello,

    I have configured Redsys as a payment gateway and made a test payment. The message that appears is with the html tags. I don’t know where to change this text, can someone help me?

    <p class="woocommerce-notice woocommerce-notice--success woocommerce-thankyou-order-received">

    "Gracias. Tu pedido ha sido recibido. <p>El número de autorización de Redsys es: XXXXXX</br >"

    </p>

    • This topic was modified 1 year, 4 months ago by marpegue.
Viewing 1 replies (of 1 total)
  • Plugin Author Jose Conti

    (@jconti)

    Hi @marpegue,

    Yes, it’s a matter of a sanitization that WooCommerce has added and does not respect the sanitization that I perform, so it prints the HTML code instead of executing it.

    Yo can use this code to remove the text

    remove_filter( 'woocommerce_thankyou_order_received_text', 'mostrar_numero_autentificacion', 20 );
Viewing 1 replies (of 1 total)
  • The topic ‘Html tags in success message’ is closed to new replies.