Skip to content

le-yo/mpesa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

#Laravel 5 Package for B2C Mpesa G2 Negotiation

composer require leyo/mpesa

#Add Service provider

leyo\Mpesa\MpesaServiceProvider::class

composer dump-autoload #MPESA Configs

From the root:

sudo nano .env

//Add the following configs as per your Mpesa API settings

SPID=SPID PASSWORD =PASSWORD SERVICEID=SERVICEID initiator_username=initiator_username initiator_pass=initiator_pass B2CPaybill=B2CPaybill result_url=result_url SSL_CERT_PATH=SSL_CERT_PATH SSL_KEY_PATH=SSL_KEY_PATH SSL_PASS=SSL_PASS APICRYPT_PATH=APICRYPT_PATH

About

M-Pesa G2 API Laravel 5 negotiator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages