Bagisto Forum

    Bagisto

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

    Payment methods

    General Discussion
    2
    3
    230
    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.
    • T
      Thapelo last edited by

      Hi, I tried to add payment. Methods to my bagisto website but all of them don't work. I followed the instructions to create a payment method but they don't work.

      Can someone help. I want to integrate PayFast or Paystack

      1 Reply Last reply Reply Quote 0
      • admin
        admin last edited by

        There's payfast payment gateway extension in bagisto: https://bagisto.com/en/extensions/laravel-ecommerce-payfast-payment-gateway/

        If you are looking to create integration from scratch, could you let us know what issue you are getting and at which step.

        1 Reply Last reply Reply Quote 0
        • T
          Thapelo last edited by

          i ran the create package script:

          php artisan package:make-payment-method Webkul/Payfast
          

          then i added this to my composer.json

          "autoload": {
              ...
              "psr-4": {
                  // Other PSR-4 namespaces
                  "Webkul\\Payfast\\": "packages/Webkul/Payfast/src"
              }
          }
          
          

          i also added this to my Config/app.php

          <?php
          
          return [
              // Other configuration options
          
              'providers' => ServiceProvider::defaultProviders()->merge([
                  // Other service providers
                  Webkul\Payfast\Providers\PayfastServiceProvider::class,
              ])->toArray(),
              
              // Other configuration options
          ];
          
          

          and at last i ran these 2 comands

          composer dump-autoload
          
          

          and

          php artisan config:cache
          
          

          then when i check in my websites configuration->sales->payment methods.
          the payment method does not appear

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