Open jeygith opened 6 years ago
Hello @jeygith , thanks for the feedback. I have taken the issue into consideration and we will include that fix in our next release.
These can be fixed on the move, you dont need to wait for a whole release to correct such. Are pull requests ok?
Yeah @nikklass PRs are okay
@nikklass hi, did you create this pull request?
Hi! good work on this however, there's a slight issue with how you get the env variables in the Mpesa class. Once the config is cached, via config:cache, the .env file is no longer loaded and calls to the env function return null. I'd suggest you create a config file for the sdk where the consumer keys and secret or any other variable can be set.