Payment via [payment method] in order details it’s empty
-
Hi,
You have an error in the latest version of the plugin. If you go to order management and click on any order, the Payment via [payment method] is empty [under title]. It happens with any payment method after activating netopia plugin.
In wp-content/plugins/netopia-payments-payment-gateway/oney/oney-add-on-netopia.php. you have
// Hook into the WooCommerce payment method title filter
add_filter(‘woocommerce_gateway_title’, ‘customize_payment_method_title’, 10, 2);// Function to customize the payment method title
function customize_payment_method_title($title, $payment_method) {
if ( is_admin() ) { return ”; }
….
this makes the title in admin empty for any gateway.
- You must be logged in to reply to this topic.