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

StkPushQuerry- Bad Request - Invalid Timestamp #43

Open
bettkipronoh opened this issue Apr 8, 2020 · 3 comments
Open

StkPushQuerry- Bad Request - Invalid Timestamp #43

bettkipronoh opened this issue Apr 8, 2020 · 3 comments

Comments

@bettkipronoh
Copy link

When checking the status of a Lipa Na M-Pesa Online Payment, I get Bad Request - Invalid timestap.

@ghost
Copy link

ghost commented Dec 2, 2021

I have the same issue with STK Push.

@Kalela
Copy link

Kalela commented Jul 5, 2023

Any luck with this? @JuniaKE @bettkipronoh

@Kalela
Copy link

Kalela commented Jul 18, 2023

Found the issue. Leaving this for the Future Daraja crossers. The Daraja API uses its own format for the timestamp. It is more like a concatenation of the date and time. Say 20230411000 being 2023 April first at 10am. A sample timestamp is 20230718171607 . Best option is to copy it from the API simulator for testing. See image
Screenshot 2023-07-18 at 17 16 48

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