How to listen Event on order confirmation?
-
I have to trigger some email on order confirmation. can you please tell me the event name for order confirmation,
-
Hello selvaraj,
You may check admin package of bagisto,Within Providers/EventServiceProvider file, boot method
Event::listen('checkout.order.save.after', Webkul\Admin\Listeners\Order@sendNewOrderMail');
the above event is used to send an mail when an order is placed.
You can use event name: checkout.order.save.after
-
Thanks for the answer! You helped solve the problem