agweria / mobile-money Goto Github PK
View Code? Open in Web Editor NEWMobile Money Payments API in Kenya (MPESA, EQUITY/EQUITEL,T-CASH). Supports B2B, B2C and C2B
Home Page: https://mobile-money.agweria.com
License: MIT License
Mobile Money Payments API in Kenya (MPESA, EQUITY/EQUITEL,T-CASH). Supports B2B, B2C and C2B
Home Page: https://mobile-money.agweria.com
License: MIT License
Add configuration to selectively enable payment provider
//rest of config
'enabled_providers'=>[
MpesaServiceProvider::class,
EquitelServiceProvider::class,
// Others
]
Also related to #15
The package bring conflict
Problem 1
- samerior/mobile-money 2.x-dev requires guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
- samerior/mobile-money[v2.2.0, ..., v2.2.1] require guzzlehttp/guzzle ^6.4 -> found guzzlehttp/guzzle[6.4.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
- Root composer.json requires samerior/mobile-money ^2.2 -> satisfiable by samerior/mobile-money[v2.2.0, v2.2.1, 2.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for
packages currently locked to specific versions.
Improve the performance, eg
There seems to be no B2B implementation in the Package.
B2B and B2C are almost similar but there is only B2C implementation in the current version of the library (v2.1.1).
This addition is important for those scenarios where one wants to have business to business transfers through mpesa.
Similar to the BulkSender Class, a new class for B2B can be added with the changes specific to the new class.
The other changes are simple from there on.
This is not really a bug but a feature addition.
The name-spacing of B2C listeners is faulty
B2C Listeners are name-spaced incorrectly leading to composer autoload warnings and later on, laravel throws errors
This correction is necessary to avoid errors occurring after b2c event is fired
Simple fix of the following:
namespace Samerior\MobileMoney\src\Mpesa\Listeners;
changed to:
namespace Samerior\MobileMoney\Mpesa\Listeners;
Add support for multiple apps
Instead of pasting credential, enable it to be adjusted dynamically
Add a more comprehensive test and wide coverage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.