Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to listen Event on order confirmation?

    General Discussion
    3
    3
    358
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      selvaraj last edited by

      I have to trigger some email on order confirmation. can you please tell me the event name for order confirmation,

      1 Reply Last reply Reply Quote 0
      • P
        prateek-webkul last edited by

        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

        1 Reply Last reply Reply Quote 0
        • P
          PeterBrown last edited by

          Thanks for the answer! You helped solve the problem

          https://tagsets.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post