Bagisto Forum

    Bagisto

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

    How can implement new payment method.

    Modules
    5
    6
    2684
    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.
    • N
      np last edited by

      How i can implements new payment method extends base Payment 🙂
      May thanks

      1 Reply Last reply Reply Quote 0
      • B
        bagisto-mogul Banned last edited by admin

        Hey @np glad you asked this.
        I suggest you follow our core payment package of (vendor)Paypal, follow the same pattern as its made.
        Breaking the process in simple steps:

        1. Create a folder for your new payment gateway and use composer init command to initialize composer.json in it.
        2. Make your own vendor payment's package by using a service provider.
        3. Register the package in config/app.php.
        4. Register your package in project's root composer.json file.
        5. Follow the same declaration used in service provider file of Paypal in your own service provider also to turn up translations, migrations, views, assets.
          or follow laravel's own guide to create a package Guide
        6. create an entry point of class for your own payment method by extending Bagisto's abstract class called Payment. Its present in packages/webkul/payments/payments
        7. Define your own routes and controllers and then check the checkout process and use browser console for debugging the checkout process.

        Kindly ask any issue, if you find some trouble in making a package.

        1 Reply Last reply Reply Quote 0
        • H
          hasanurHimel last edited by

          I facing many trouble in this way. Please make a complete tutorial about Bkash payment method or anyt new payment integretion.

          1 Reply Last reply Reply Quote 1
          • V
            Vaishali Agarwal last edited by

            Hi @hasanurHimel
            You can following this guide to implement new payment method
            https://devdocs.bagisto.com/create_payment_method.html

            Thanks.

            R 1 Reply Last reply Reply Quote 0
            • R
              Rohit @Vaishali Agarwal last edited by

              @Vaishali-Agarwal

              hi vaishali,
              can you help me, i want to intigrate razorpayment integration in our bagisto project i got stuck some where in that

              c9c9cc66-86b2-42f4-8ee4-e6051670ceea-image.png

              Please vaishali help me

              Thanks

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by

                Hi @Rohit
                follow this link https://forums.bagisto.com/topic/205/is-it-possible-to-integrate-razorpay-payment-gateway-in-bagisto-e-commerce/23

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