I have tried just about everything I can think of to get the payment method to display on the invoice and I just can't get it to show. I have spent over 3 hours on this now and am about to smash my head into my monitor!
Please can someone let me know exactly what I need to put in the print-delivery-note.php file in order to get the Payment Method to appear.
At the moment I have:
<?php echo '<strong>Payment Method:</strong> ' . wcdn_get_order_custom_field('WC_Payment_Gateway'); ?>
But in place of WC_Payment_Gateway I have tried probably 50 variations of payment_method, Payment Method, payment_type, Payment Type etc. etc. etc.
Am I even using the right code above?
Many thanks in advance,