ElixirMpesa.GenerateSessionKey (ElixirMpesa v0.2.0)

View Source

Deprecated. Session keys are managed automatically by ElixirMpesa.Session.

In 0.1.0 every call required three manual steps — encrypt the API key, exchange it for a session ID, encrypt that. ElixirMpesa now does this for you, caches the result per market and refreshes it before it expires, so ElixirMpesa.c2b/2 is all you need.

This module remains so 0.1.0 code keeps compiling. It will be removed in 0.3.0. See Upgrading.