• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How can implement new payment method.

Modules
5
6
3.4k
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 16 Feb 2019, 06:49

    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 18 Feb 2019, 05:16 18 Feb 2019, 05:12

      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
      • about a year later
      • H
        hasanurHimel last edited by 1 May 2020, 04:29

        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 1 May 2020, 13:54

          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 2 Jul 2020, 06:34 Reply Quote 0
          • 2 months later
          • R
            Rohit @Vaishali Agarwal last edited by 2 Jul 2020, 06:34

            @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
            • 11 days later
            • V
              Vaishali Agarwal last edited by 13 Jul 2020, 04:47

              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
              6 out of 6
              • First post
                6/6
                Last post