Download the PHP package epikoder/laravel-payment-gateway without Composer
On this page you can find all versions of the php package epikoder/laravel-payment-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download epikoder/laravel-payment-gateway
More information about epikoder/laravel-payment-gateway
Files in epikoder/laravel-payment-gateway
Package laravel-payment-gateway
Short Description Extendable payment gateway to manage different gateways in your application
License MIT
Homepage https://github.com/epikoder
Informations about the package laravel-payment-gateway
Laravel Payment Gateway
Extendible payment gateway to manage different gateways in your application.
This package allows you to manage different payment providers within your application with ease. and provides base to add any payment provider on-the-fly.
Default providers to be implemented
Stripe
Paypal
Paystack
Getting started
composer require epikoder/laravel-payment-gateway
To add a payment provider extend the PaymentProvider class
Epikoder\LaravelPaymentGateway\Abstract\PaymentProvider
Order | Package model
Implement the interface Epikoder\LaravelPaymentGateway\Contracts\OrderInterface
Config
Add a provider
To add or use your own custom provider see the config
Add a provider setting
Disable provider from customer access
Live and Test mode
Using live and test mode feature
URLs and Routes
The values of the urls should be valid routes to your controller see Complete an order
Usage
Process an order
Complete an order
Simple method
Custom Method
Transaction verification is handled by the PaymentProvider class.
Contributing
Thank you for considering contributing to this package. :)
License
The Laravel framework is open-sourced software licensed under the MIT license.