Laravel error after making shipping method
-
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
-
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.
Thanks & Regards
-
@Rishabh-Webkul Thanks, that solved it! Might want to update your package-generator to include that in the system.php file