Disable vendor order for specific payment method
-
Hi,
we have custom payment method, Coins, which is basically virtual currency and we want to disable or exclude vendor sales if customer buys something with that custom payment method. How to do that?
So if buyer buys with that specific payment method, we don’t want vendor mail to be sent, we don’t want that that order is shown in vendor dashboard, but it must me processed in WooCommerce.
Something like this:
if ('coins' === $order->get_payment_method() ) {
// disable Dokan;
}But where to implement this?
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable vendor order for specific payment method’ is closed to new replies.