Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STK PUSH #5

Closed
charliekaks opened this issue Apr 8, 2019 · 3 comments
Closed

STK PUSH #5

charliekaks opened this issue Apr 8, 2019 · 3 comments

Comments

@charliekaks
Copy link

Hey, am loving your node app really convenient. One issue though when I send the stk push I get { "status": "01", "message": "Invalid remote response" }
but the stk still shows up and confirms my payment. What could be the issue?

@charliekaks
Copy link
Author

I was doing some debugging after getting the above response and I made a change in the mpesaFunctions.js file. I think one of the conditions in httpResponseBodyProcessor function should not have a ! the isEmpty(responseData.body.status). After the change, it worked. Am not sure of the solution please review and confirm

@neshoj
Copy link
Owner

neshoj commented Apr 9, 2019

Hi @charliekaks allow me review the above issue and provide feedback on it

neshoj added a commit that referenced this issue Apr 12, 2020
Bug Fix:
1. Fixed validation issue for STK push payments request
2. STK PUSH #5 Handled M-Pesa response to initial request
@neshoj
Copy link
Owner

neshoj commented Apr 12, 2020

Hi @charliekaks after very many months I have returned to resolve the issue, check the latest update. I wouldn't mind having you as a contributor to the project by the way.

@neshoj neshoj closed this as completed May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants