Hello @dhelvaci
You can hook up to the email templating via the ‘woocommerce_email_order_meta_fields’ hook for example. The provider name is stored in the WooCommerce session.
Please see the example below.
add_filter( 'woocommerce_email_order_meta_fields', 'custom_woocommerce_email_order_meta_fields', 10, 3 );
function custom_woocommerce_email_order_meta_fields( $fields, $sent_to_admin, $order ) {
if (WC()->session) {
$provider = WC()->session->get('payment_provider');
if ($provider) {
$order->set_payment_method_title($order->get_payment_method_title() . ': ' . ucfirst($provider->getName()));
}
}
}