I am having an issue with Authorization from Safaicom's SAG when using this module. Err
However, my key is valid (tested it with other methods). This seems to be the best module available for Node JS.
On investigating, I found that pesa-js uses crypto-js module to do the encoding and hashing. Confirming more I found that v4 of node has the inbuilt crypto module. The crypto module seems like a better solution here.
I am having an issue with Authorization from Safaicom's SAG when using this module. Err However, my key is valid (tested it with other methods). This seems to be the best module available for Node JS. On investigating, I found that pesa-js uses
crypto-js
module to do the encoding and hashing. Confirming more I found that v4 of node has the inbuiltcrypto
module. The crypto module seems like a better solution here.