kn9ts / project-mulla

Talk to MPESA API via a REST API. Bringing the MPESA G2 API to the 21st century. --
http://kn9ts.github.io/project-mulla/
GNU Lesser General Public License v3.0
301 stars 117 forks source link

Hard code the ENPOINT and SECRET_SESSION_KEY into the app, these variables seldomly change #40

Closed kn9ts closed 8 years ago

kn9ts commented 8 years ago

The ENDPOINT and SESSION_SECRET_KEY hardly will change.

env_variables:
  SESSION_SECRET_KEY: '88186735405ab8d59f968ed4dab89da5515'
  ENDPOINT: 'https://safaricom.co.ke/mpesa_online/lnmo_checkout_server.php?wsdl'

Hardcode them into the environment.js file so as to reduce developer ENV config variables.