• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Laravel error after making shipping method

General Discussion
2
3
177
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.
  • P
    Peppek1993 last edited by 23 Sept 2024, 12:53

    Hey, I'm trying to add a shipping method.

    My steps

    php artisan package:make-shipping-method Webkul/InPost

    created successfully.

    then in root folder in composer.json i add

    "Webkul\InPost\": "packages/Webkul/InPost/src"

    at the very end of autoload.psr-4 object

    then I go to config/app.php and at the very end of providers I add

    Webkul\InPost\Providers\InPostServiceProvider::class

    Then I do composer dump-autoload, then php artisan config:cache

    And after that when I go to my admin panel configuration I see this

    99fe497c-fcb7-4132-bc04-ccc65351ab05-image.png

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 24 Sept 2024, 06:40

      Hello @Peppek1993

      Kindly check when you were adding the configuration to your system.php file in that file there is a key of info present.

      I guess, you are missing that info key in your module, kindly recheck it. It should be something like this as shown in the below image.

      dcAsc.png

      Thanks & Regards

      P 1 Reply Last reply 24 Sept 2024, 13:38 Reply Quote 0
      • P
        Peppek1993 @Rishabh-Webkul last edited by 24 Sept 2024, 13:38

        @Rishabh-Webkul Thanks, that solved it! Might want to update your package-generator to include that in the system.php file 🙂

        1 Reply Last reply Reply Quote 1
        2 out of 3
        • First post
          2/3
          Last post