Problem with new payment package
-
Hello,
I'm working on two new payment modules.
Everything is working correctly except Config loading.
I created a Config folder the two files paymentmethods.php and system.php but when I access the Configuration admin page admin/configuration/sales/paymentmethods no new payment method appear.
I tried to add the same code to the existing Config files in Webkul/Payment/src/Config files and the new payment method appear.
Do I forget something? -
Hi @asdomar
Did you merge your these files to main file of configuration inside your service provider like -
$this->mergeConfigFrom( dirname(__DIR__) . '/Config/paymentmethods.php', 'paymentmethods' ); $this->mergeConfigFrom( dirname(__DIR__) . '/Config/system.php', 'core' );