Navigation

    Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. AshJi
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    AshJi

    @AshJi

    2
    Reputation
    71
    Posts
    35
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    AshJi Follow

    Posts made by AshJi

    • RE: How to get started with creation of new payment gateway?

      @devansh-webkul I would be more than happy to contribute to the open source. But unfortunately there is not enough useful doc available to understand the whole flow. Probably this is the reason almost 90-95% folks contributing are from the core team. Rest 5% folks have mostly done a few bug fixes here and there.

      Coming to integration with PG there are just 2-3 use cases. And all accept REST call to post a transaction (pre defined inputs) and it returns transaction status - success or failure. There cud be a few more secondary APIs. It cannot be more complicated than that.

      If someone from Bagisto team can work with me then I can help make a generic module and make it available to all your users. I seem posts so many folks struggling with same few problem.

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @devansh-webkul Not sure whether I follow you want to say. Feature requirements I assume are internal to Bagisto. As end user, I would be interested in knowing what I can achieve with the 'package-installer' module? If one decides not to go "deeper", what purpose does this module serves? Just having a new payment option show up in UI cannot be the goal.

      Unfortunately its neither clear in the docs not your replies. If the module in current form does not support full integration then it's fine. But in that case instructions at this link https://devdocs.bagisto.com/create_payment_method.html needs to be updated as they are not in sync with the module.

      Hope you understand from end user's perspective.

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @devansh-webkul that was my initial query - why are folder structure of Paypal and one generated by your package different.

      If one generated by package is not complete then why should one use this package.

      I am confused now - does one use the package-generator module or clone Paypal folder.

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @devansh-webkul Added a new entry to the file

      packages/ACME/RazorPay/src/Config/system.php
      

      But I don't still understand the whole flow how this new Payment Gateway integration is supported. Where are we telling Bagisto which PG URL to hit to connect to the payment gateway?

       1 <?php
        2
        3 return [
        4     [
        5         'key'    => 'sales.paymentmethods.razorpay',
        6         'name'   => 'Razorpay',
        7         'sort'   => 1,
        8         'fields' => [
        9             [
       10                 'name'          => 'title',
       11                 'title'         => 'admin::app.admin.system.title',
       12                 'type'          => 'text',
       13                 'validation'    => 'required',
       14                 'channel_based' => false,
       15                 'locale_based'  => true,
       16             ], [
       17                 'name'          => 'description',
       18                 'title'         => 'admin::app.admin.system.description',
       19                 'type'          => 'textarea',
       20                 'channel_based' => false,
       21                 'locale_based'  => true,
       22             ], [
       23                 'name'          => 'active',
       24                 'title'         => 'admin::app.admin.system.status',
       25                 'type'          => 'boolean',
       26                 'validation'    => 'required',
       27                 'channel_based' => false,
       28                 'locale_based'  => true,
       29             ], [
       30                 'name'          => 'active',
       31                 'title'         => 'Secret Key',
       32                 'type'          => 'text',
       33                 'validation'    => 'required',
       34                 'channel_based' => false,
       35                 'locale_based'  => true,
       36             ]
       37         ]
       38     ]
       39 ];
      
      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @Deepanjali composer.json file is in the Bagisto home directory.

      839eaf91-55f8-4ab1-a3b7-b9d382d1800d-image.png

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      Thanks @devansh-webkul for your revert. My other doubt about where I enter my app key, other secret keys which I receive from the PaymentGateway. From the UI I don't see a way to enter them. Am I missing something?

      Please clarify and guide.

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @Naresh-webkul @Vaishali-Agarwal Do you guys have any comments/suggestion? Or should one just give up payment integration?

      @Deepanjali @otheriz wondering whether you folks have been successful in following the documentation and achieve payment GW integration?

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @Naresh-webkul @Vaishali-Agarwal

      I ran the below command of the package_generator module and was able to create a folder.

      php artisan package:make-payment-method ACME/Stripe
      

      Unfortunately files under the newly created folder, are just some placeholder code with absolutely no explanation of the field and what needs to be done. Unfortunately this link https://devdocs.bagisto.com/create_payment_method.html is not much help either.

      I compared the folder/file structure of newly created folder with that of OOB Webkul/PayPal. That is also different.

      Webklu/Paypal/src [5 sub folders]
      8167bfd2-da56-442c-9e56-563a804b6cfb-image.png

      MyApp/Razorpay/src [3 sub folders]
      9f6beb32-cfa8-476f-ab58-6e6f3de66305-image.png

      Can you please help share some working example using the package_generator .

      posted in Knowledge Base
      A
      AshJi
    • RE: How to get started with creation of new payment gateway?

      @Naresh-webkul "Bagisto Package Generator" documentation says Requirement is Bagisto 1.1.2 or higher.

      So is it a must to have v1.2BETA? If possible I would like to tray with 1.1.2 instead of 1.2.

      posted in Knowledge Base
      A
      AshJi
    • RE: Change display language to hindi

      @bhanu-webkul not able to view the image. Seems either the server is down or image size is huge.
      h
      But if I understand your suggestion, product has to be added for each locale. So if there is one product P1 and locales L1 & L2, one has to add P1 with L1 locale and then again with L2. Pls confirm.

      posted in General Discussion
      A
      AshJi