View Code? Open in Web Editor
NEW
This package helps you integrate the MTN MOMO API into your Php or Laravel application. Its wrapper around the MTN Open API to provide you with a much simpler API to work with.
Home Page: https://momodeveloper.mtn.com
License: MIT License
mtn-momo-api-php's Issues
$ php ./vendor/patricpoba/mtn-momo-api-php/src/SandboxUserProvision.php -k '6758a7ea55df47e7bf86af7a5794cdf8' -c 'http://pugicode.com '
Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL
certificate problem: unable to get local issuer certificate (see https://curl.ha
xx.se/libcurl/c/libcurl-errors.html) in C:\wamp64\www\momotest\vendor\guzzlehttp
\guzzle\src\Handler\CurlFactory.php:201
Stack trace:
#0 C:\wamp64\www\momotest\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(1
55): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\E
asyHandle), Array)
#1 C:\wamp64\www\momotest\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(1
05): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlH
andler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFa
ctory))
#2 C:\wamp64\www\momotest\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(4
3): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler
), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)
)
#3 C:\wamp64\www\momotest\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(28 in C
:\wamp64\www\momotest\vendor\patricpoba\mtn-momo-api-php\src\Http\GuzzleClient.p
hp on line 52
Facing 500 status code when using $collection->getTransaction($transactionId).
It seems callback url is not working properly. After completing the transaction callback url is not getting any response.
Having issues using composer with guzzlehttp version (Maybe the version needed to be upgraded?)
Problem 1
- Root composer.json requires patricpoba/mtn-momo-api-php * -> satisfiable by patricpoba/mtn-momo-api-php[v0.1, v0.2, v0.2.1, v0.2.2].
- patricpoba/mtn-momo-api-php[v0.1, ..., v0.2.2] require guzzlehttp/guzzle ^6.5 -> found guzzlehttp/guzzle[6.5.0, ..., 6.5.8] but it conflicts with your root composer.json require (^7.4).
` In PackageDiscoveryTrait.php line 308:
Package patricpoba/mtn-momo-api-php has requirements incompatible with your
PHP version, PHP extensions and Composer version:
- patricpoba/mtn-momo-api-php v0.2.2 requires php ^7.0 which does not mat
ch your installed version 8.0.19.
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [...]
Hi Patrick,
Just wanted to Know how i can generate the
"collectionApiSecret"
"collectionPrimaryKey"
"collectionUserId"
2 Is the environment live or production, thanks in advance
Hi,
Thank for your package.
However, i don't really understand how to make it run on my website.
Can you help me please ?
hello devs, i don't get any responds from the api when running the collection product