Custom payment configuration Undefined array key "info"
-
Hello, i have currently been trying to configure a custom payment gateway to handle local payments. I followed the instructions on https://bagisto.com/en/how-to-create-custom-payment-method-in-bagisto/ . I have successfully created a package using the bagisto package generator and have done everything up to the autoloading of the extra php files from the package. Am getting the "Undefined array key "info" " error when i try to open the payment configuration page in bagisto admin. What I have noticed is that the error goes away when I change the "'key' => 'sales.payment_methods.mobilemoney' " to 'key' => 'sales.paymentmethods.mobilemoney' in the system.php file.
The Issue I have is that even if the error goes after changing the key entry, the custom payment does not appear on the list. Kindly assist, am using bagisto 2.2
-
Hello @bwextech
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