Replies: 0
Hi
I’m using this code
// Exclude invoice when chosen faktura
function exclude_payments($payment_methods)
{
return array('klarna','cheque');
}
add_filter('bewpi_attach_invoice_excluded_payment_methods', 'exclude_payments', 10, 2);
Order looks like this in database: https://imgur.com/a/Nev6h3k
I’m using a custom invoice template.
No relevant errors in error_log. Rest of the plugin working fine.