Stripe Multibanco Class issue
-
Hello,
I’m having an issue with the Multibanco payment gateway output because the ‘get_instructions‘ function in the ‘class-wc-gateway-stripe-multibanco.php‘ file, which returns the order amount (Montante), is using ‘esc_html‘ causing all HTML tags to appear on the front-end. I’ve tested replacing it with ‘wp_kses_post‘ and it works perfectly, but I can’t manually modify the plugin for obvious reasons.
I’ve tried replacing the function, but maybe due to not knowing how to do it correctly, it only affects the checkout, and the email sent to the customer still has the error.
Is there a way to fix this problem?
The page I need help with: [log in to see the link]
- The topic ‘Stripe Multibanco Class issue’ is closed to new replies.