Excluding payment method not working
-
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.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Excluding payment method not working’ is closed to new replies.