Hi,
You have to use both triggers.
Some plugins can check if the payment was made before creating the order and other, creates the order and some time after, the payment is made and the order validated.
In each trigger you have an access to the $order object.
You can access to the value " $order->order_status " in order to check if the order is "confirmed" or not.
To know if an order is being confirmed, you have to compare the order_status with the old order_status.
$config = hikashop_config();
$confirmed = $config->get('order_confirmed_status', 'confirmed');
if( !empty($order->order_status) && $order->order_status == $confirmed && (empty($order->old->order_status) || $order->order_status != $order->old->order_status) ) {
// The order is being confirmed.
}
Regards,