Bagisto Forum

    Bagisto

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

    Hello

    General Discussion
    3
    13
    693
    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.
    • N
      Naresh-webkul last edited by

      Hello @Poonam-Kharka ,

      Please explain the issue in brief (with screenshots), so that we can resolve the issue in a better way.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • P
        Poonam Kharka last edited by

        M trying to get event demo. Like how exactly it will work?

        1 Reply Last reply Reply Quote 0
        • N
          Naresh-webkul last edited by

          @Poonam-Kharka ,

          I didn't get you properly, this is related to the event and listener ?
          you are trying to get demo event thats is already fired somewhere?

          please correct me if i'am wrong.

          Thank you.

          1 Reply Last reply Reply Quote 0
          • P
            Poonam Kharka last edited by

            yes exactly i want a demo of event listener

            1 Reply Last reply Reply Quote 0
            • N
              Naresh-webkul last edited by

              @Poonam-Kharka ,

              You should read this :
              https://devdocs.bagisto.com/events.html

              If still is there any query regarding this feel free to let us know.

              1 Reply Last reply Reply Quote 0
              • P
                Poonam Kharka last edited by

                I have read the documentation and follow the steps but till now m not able to see event result

                1 Reply Last reply Reply Quote 0
                • N
                  Naresh-webkul last edited by

                  Hi @Poonam-Kharka ,
                  Please share screenshots of the issues you are facing while getting the event

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • P
                    Poonam Kharka last edited by

                    m not getting any result

                    1 Reply Last reply Reply Quote 0
                    • N
                      Naresh-webkul last edited by

                      Have you register the following in you event service provider:
                      e.g:-
                      Event::listen('test.registration.after', 'Webkul\Test\Listeners\Demo@registerUser');

                      here let suppose you are getting an event(test.registration.after) and here Demo is the class and registerUser is a method of that class that will handle the event(test.registration.after) operation. and demo file must be created in Webkul\Test\Listeners folder .

                      did you follow these above steps?

                      thank you.

                      1 Reply Last reply Reply Quote 0
                      • R
                        rahul last edited by

                        Hi @Poonam-Kharka

                        Kindly check your mail configuration in .env file , you have not provided correct details for following fields.

                        MAIL_DRIVER=xxxxxx
                        MAIL_HOST=xxxxxx
                        MAIL_PORT=xxxxxx
                        MAIL_USERNAME=xxxxxx
                        MAIL_PASSWORD=xxxxxx
                        MAIL_ENCRYPTION=xxxxxx
                        SHOP_MAIL_FROM=xxxxxx
                        ADMIN_MAIL_TO=xxxxxx
                        

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • P
                          Poonam Kharka last edited by

                          thank you for the reply. I have already configured .env file and put smtp.mailtrap credentials and i just make listener with hello message and registered it on EventServiceProvider. but it is not showing hello

                          1 Reply Last reply Reply Quote 0
                          • N
                            Naresh-webkul last edited by

                            Can you please provide screenshots of your event listener,and event service provider.

                            Thank you.

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