Giter Site home page Giter Site logo

patricpoba / mtn-momo-api-php Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 23.0 56 KB

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

PHP 100.00%
package

mtn-momo-api-php's People

Contributors

patricpoba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mtn-momo-api-php's Issues

The package does not work on php version 8.0

` 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] [--] [...]

`

no responds

hello devs, i don't get any responds from the api when running the collection product

Not an Issue

Hi Patrick,

  1. Just wanted to Know how i can generate the
    "collectionApiSecret"
    "collectionPrimaryKey"
    "collectionUserId"

2 Is the environment live or production, thanks in advance

Guzzle Error

$ 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

Newer Guzzlehttp issue with the package

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).

Momo API in PHP

Hi,
Thank for your package.
However, i don't really understand how to make it run on my website.
Can you help me please ?

X-Callback-Url is not working

It seems callback url is not working properly. After completing the transaction callback url is not getting any response.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.