Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
newtonmunene99 authored May 17, 2019
1 parent 276591e commit 1a03a6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ const mpesa = new Mpesa(credentials, environment);

A moment to explain the above. `credentials` should be an object containing key,secret,initiator_password and certificatepath as the properties.

You can get initiator password from Your Portal(production) or from test credentials(Sandbox). It will be the `Security Credential (Shortcode 1)`.

```javascript
//example
const credentials = {
Expand All @@ -75,6 +73,7 @@ const credentials = {
certificatepath: null
};
```
> You can get initiator password from Your Portal(production) or from test credentials(Sandbox). It will be the `Security Credential (Shortcode 1)`.
Environment should be a string. It can be either 'production' or 'sandbox'

Expand Down

0 comments on commit 1a03a6f

Please sign in to comment.