• Resolved StefanPeeters

    (@stefanpeeters)


    Hi,
    When a client receives an invoice and selected Direct banc transfer, the banc details (account number) does not appear on the invoice. How can I resolve this to print banc details on every invoice?
    As second option I took mollie as a payment gateway. If a client pays with Mollie. Is it showing than authomatically on the invoice that they have paid with lets say credit cart?
    Help is very appericiated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @stefanpeeters

    It is possible to add the bank details. The easiest solution is with our Premium Templates extension. This will give you access to the customizer and lets you add your payment information with a few clicks with a custom block.

    The other solution is with a little custom code:

    add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_add_payment_information', 10, 2 );
    function wpo_wcpdf_add_payment_information ($template_type, $order) {
    	if ($template_type == 'invoice' ) {
    		echo "<p class='payment-information'>Your Payment information goes here...</p>";
    	}
    }
    
    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
    function wpo_wcpdf_custom_styles () {
    	?>
    	.invoice p.payment-information {
    		text-align:right;
    		font-weight:bold;
    	}
    	<?php
    }

    Regarding Mollie, what plugin are you using?

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Hi,

    Thanks for helping me out!
    Where do I add that code?

    I am using no other payment plugins.
    A have added account number to the Direct banc transfer at the Payements tab in the settings of WooCommerce.

    Thank you

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @stefanpeeters

    If you never used actions/ filters please read this documentation.

    Hope that helps!

    Plugin Contributor alexmigf

    (@alexmigf)

    @stefanpeeters

    Also adding {{payment_method_instructions}} or {{payment_method_thankyou_page_text}} in the customizer of the Premium Templates extension prints the settings as configured in WooCommerce.

    • This reply was modified 4 years, 7 months ago by alexmigf.
    • This reply was modified 4 years, 7 months ago by alexmigf.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Banc details’ is closed to new replies.