Bagisto Forum

    Bagisto

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

    Api for multivendor sellers

    General Discussion
    2
    14
    876
    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.
    • C
      cmpengineers last edited by cmpengineers

      Hello

      im trying to create api end for showing all sellers but some errors happen not sure why its not reconizing the controller ?

      Screen Shot 2019-12-09 at 1.39.27 PM.png

      Screen Shot 2019-12-09 at 1.39.11 PM.png

      Best regards

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

        Hi @cmpengineers

        Kindly run - composer dump-autoload , then check.

        Thanks

        1 Reply Last reply Reply Quote 0
        • C
          cmpengineers last edited by

          @rahul

          Thanks much appreciate , i did composer dump-autoload still giving me same error

          Screen Shot 2019-12-09 at 2.31.58 PM.png

          Best regards

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

            Hi @cmpengineers

            Can you check your route to see path of your controller after running command - php artisan route:cache

            Thanks

            1 Reply Last reply Reply Quote 0
            • C
              cmpengineers last edited by cmpengineers

              @rahul

              i did clear still same error and also when i tried php artisan route:list it give me same error

              config.app

              // API Sellers
              Sellers\API\Providers\APIServiceProvider::class,

              composer.json
              "Sellers\API\": "packages/Sellers/API"

              bagistotest:pa route:cache
              Route cache cleared!
              Routes cached successfully!

              Screen Shot 2019-12-09 at 2.44.47 PM.png

              Best regards

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

                Hi @cmpengineers

                Can you attach your packages zip file here.

                Thanks

                1 Reply Last reply Reply Quote 0
                • C
                  cmpengineers last edited by

                  Hi @rahul

                  sure

                  [0_1575960285201_Sellers.zip](Uploading 100%)

                  https://www.dropbox.com/s/k8fpy2b94xrtrss/Sellers.zip?dl=0

                  best regards

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

                    Hi @cmpengineers

                    I am unable to download it.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmpengineers last edited by

                      Dear @rahul

                      please download from the link

                      https://www.dropbox.com/s/k8fpy2b94xrtrss/Sellers.zip?dl=0

                      best regards

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

                        Hi @cmpengineers

                        Nothing happens when i open this link.

                        download.png

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmpengineers last edited by

                          Dear @rahul

                          my apologize please download from google drive link

                          https://drive.google.com/file/d/121wFXpbckWxtY0SggqC-84lIW4_S7uiK/view?usp=sharing

                          Best regards

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmpengineers last edited by

                            Dear @rahul

                            i have test same code with different package and its working just fine , the difference between these pacakge one of them is just regular package

                            https://drive.google.com/file/d/1WgrlKk71xv6363BtCT9a9wW2KzehYcmo/view?usp=sharing

                            Best regards

                            1 Reply Last reply Reply Quote 0
                            • C
                              cmpengineers last edited by

                              @rahul

                              this screen shot from ACME package

                              Screen Shot 2019-12-12 at 12.47.33 PM.png

                              Best regards

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

                                Hi @cmpengineers

                                Now it is working fine.

                                Thanks

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