mpesa-node-library
mpesa-node-library copied to clipboard
Unable to identify proxy for host: secure and url: /mpesa/stkpush/v1/processrequest
Describe the bug When trying to use the LipaNaMpesaOnline api, I keep getting 404 error with the message Unable to identify proxy for host: secure and url: /mpesa/stkpush/v1/processrequest
To Reproduce Steps to reproduce the behavior:
- Initialize Mpesa with required credentials
- Use ngrok to expose localhost
- Make post request to payment endpoint
- See error under data.fault object
Expected behavior STK Push initiated
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser: Brave
- Version : 1.27
Smartphone (please complete the following information):
- Device: Safaricom Neon Ray Pro
- OS: Android 10
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Facing a similar issue here
LipaNaMpesaOnline
Please share the ngrok callbackUrl you are using. I guess u might be usin the unsecure url.
Facing a similar issue here
Please share more details on this.
Hey, @e-kibet @vincentmuriuki @danielolamide are you guys still facing this issue?
sorry, can't confirm, I don't work on the project that required this anymore.
@e-kibet I did write integration tests. Running them should tell you whether it still works.