Description
Not really a bug actually the sandbox certificate specified in this repo is correct and I managed to get successful transactions using this key. This is not the case for https://developer.safaricom.co.ke/sites/default/files/cert/cert_sandbox/cert.cer that is different from the certificate that the library uses. The certificate posted on the docs didn't work
Reproduction
Steps to reproduce the behaviour:
- Using the mpesa-node-library send a b2c request with using the certificate in daraja to encrypt your Security Credential
Expectation
A successful transaction
Actual
Transaction with the error Initiator Information is invalid
Specification
- OS: Windows 10
- Node Version: 10.15.1
Description
Not really a bug actually the sandbox certificate specified in this repo is correct and I managed to get successful transactions using this key. This is not the case for https://developer.safaricom.co.ke/sites/default/files/cert/cert_sandbox/cert.cer that is different from the certificate that the library uses. The certificate posted on the docs didn't work
Reproduction
Steps to reproduce the behaviour:
Expectation
A successful transaction
Actual
Transaction with the error
Initiator Information is invalidSpecification