mpesa-node-library icon indicating copy to clipboard operation
mpesa-node-library copied to clipboard

Unable to identify proxy for host: secure and url: /mpesa/stkpush/v1/processrequest

Open danielolamide opened this issue 3 years ago • 6 comments

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:

  1. Initialize Mpesa with required credentials
  2. Use ngrok to expose localhost
  3. Make post request to payment endpoint
  4. See error under data.fault object

Expected behavior STK Push initiated

Screenshots Screenshot 2021-04-27 at 15 20 05

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.

danielolamide avatar Apr 27 '21 12:04 danielolamide

Facing a similar issue here image

vincentmuriuki avatar Apr 29 '21 05:04 vincentmuriuki

LipaNaMpesaOnline

Please share the ngrok callbackUrl you are using. I guess u might be usin the unsecure url.

e-kibet avatar Sep 25 '21 10:09 e-kibet

Facing a similar issue here image

Please share more details on this.

e-kibet avatar Sep 25 '21 10:09 e-kibet

Hey, @e-kibet @vincentmuriuki @danielolamide are you guys still facing this issue?

EKivutha avatar May 17 '22 10:05 EKivutha

sorry, can't confirm, I don't work on the project that required this anymore.

danielolamide avatar May 24 '22 10:05 danielolamide

@e-kibet I did write integration tests. Running them should tell you whether it still works.

geofmureithi avatar Jun 26 '22 15:06 geofmureithi