Hello @niikk ,
I will not be able to comment on the exact problem you are having with the payment gateway. Dokan uses the WooCommerce’s WC_Email class and extend that for the vendor’s new order emails. You can contact with the plugin you are using and refer to the file – dokan-lite/includes/Emails/VendorNewOrder.php.
You can check the triggers used here and discuss with them why they are not being able to match with those WooCommerce’s triggers. The triggers used for the vendor new order emails are –
// Triggers for this email.
add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_pending_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
I hope you get it sorted.
Thank you ??