Bagisto Forum

    Bagisto

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

    Custom payment configuration Undefined array key "info"

    Modules
    2
    2
    157
    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.
    • B
      bwextech last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        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.

        wefew.png

        Thanks & Regards

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