Skip to content

This package is provides an expressive, fluent interface to Knet's payment services.

Notifications You must be signed in to change notification settings

sanu-basak/knet-payment-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Knet Payment Gateway (Laravel 5.6 to Laravel 8.x)

This package used to integrate with the new Knet payment gateway.

Requirements

PHP Laravel Package
7.3+ 8.x v1.3.0
7.2.5+ 7.x v1.2.0
<7.2.5 6.x v1.1.0
<7.1 5.x v1.0.*

Installation

  1. Install the package by running this command in your terminal/cmd:
composer require o2one/knet-payment-gateway
  1. Create this package's Knet to the tap option of your gateway in config/knet.php:

Optionally, you can import config file by running this command in your terminal/cmd:

php artisan vendor:publish --tag=knet-config

Change Environment

you can change your environment from local to production in case you want to make sure that everything is working fine, to do that change .env file like this

APP_ENV=local // or production

KNET_TRANSPORT_ID=
KNET_TRANSPORT_PASSWORD=
KNET_RESOURCE_KEY=
KNET_DEBUG=true //or false in production

Test cards

Card Number Expiry Date PIN Status
8888880000000001 09/21 1234 CAPTURED
8888880000000002 05/21 1234 NOT CAPTURED

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Special Thanks to

About

This package is provides an expressive, fluent interface to Knet's payment services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages