Giter VIP home page Giter VIP logo

ex_pesa's People

Contributors

gettyorawo avatar kamalogudah avatar lenileiro avatar manuelgeek avatar midigofrank avatar okothkongo avatar r-coh avatar traceyonim 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ex_pesa's Issues

The Package will always hit `prod` urls

The wrapper checks for Mix.env() to determine the API to hit, either sandbox or production. However, all dependencies are compiled as :prod hence the wrapper will always hit the :prod endpoint.

Feature Request: Daraja Token store

Is your feature request related to a problem? Please describe.
The Daraja API access_tokenstays active for 1 Hour. Currently we still generate a new access token for every request, which is expensive. There's need to keep the access_token as long as it's still valid.

Describe the solution you'd like
Storing the token in a state with the GenServer

Work Involved
Getting the token, time, storing it in the state, getting the token against time, generate new one if token is older than 1 Hour

Feature Request: Enable passing of mpesa_result_url to params for b2c

Is your feature request related to a problem? Please describe.
When sending out mpesa request, i.e for b2c, one may wish to customize the result_url so as to make it unique . For example this can be done by adding a token to the url so that each request will have its own url reducing the chances of someone knowing
our url and sending random data to the endpoint

Describe the solution you'd like
Allow request_url to be part of params input

Feature Request: Get Forex Rates

Is your feature request related to a problem? Please describe.
The Foreign Exchange Rates API Provides Easy Access To The Equity Bank Daily Currency Conversion Rate For Major Currencies Get Forex Rates

Feature Request: C2B API

This API enables Paybill and Buy Goods merchants to integrate to M-Pesa and receive real time payments notifications.

C2B Register URL - Resource URL

The C2B Register URL API registers the 3rd party’s confirmation and validation URLs to M-Pesa ; which then maps these URLs to the 3rd party shortcode.

C2B Simulate Transaction

  • simulate

Feature Request: Account Balance

Is your feature request related to a problem? Please describe.
This web service enables an application or service retrieve the current and available balance of an account more info can be found in Account Balance

Feature Request: Implement on B2C

B2C API

Business to Customer (B2C) API enables the Business or organization to pay its customers who are the end-users of its products or services. Currently, the B2C API allows the org to perform around 3 types of transactions: Salary Payments, Business Payments or Promotion payments. Salary payments are used by organizations paying their employees via M-Pesa, Business Payments are normal business transactions to customers e.g. bank transfers to mobile, Promotion payments are payments made by organization carrying out promotional services e.g. betting companies paying out winnings to clients

Feature Request: ADD DARAJA API LINK ON THE README

How about updating the readme and add the daraja API link and all other APIs for anyone interested to contribute and wants to familiarize themselves with how the APIs work or maybe whatever kind of reference

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.