Recent Topics

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\[email protected]');
    

    the above event is used to send an mail when an order is placed.

    You can use event name: checkout.order.save.after


Log in to reply