safaricom / LNMOnlineAndroidSample

Lipa Na MPESA Online (STK Push) Android Sample Application. This app demonstrates an e-commerce purchase and checkout process via Mpesa and Daraja :smile:
https://developer.safaricom.co.ke/
Apache License 2.0
129 stars 128 forks source link

Did I missed something ? I am getting this error #41

Open adetheprince opened 3 years ago

adetheprince commented 3 years ago

HTTP/1.1 404 Resource not found Cache-Control: no-store Connection: keep-alive Content-Length: 188 Content-Type: application/json;charset=UTF-8 Date: Wed, 23 Dec 2020 12:00:39 GMT { "requestId": "5031-1921185-1", "errorCode": "404.001.03", "errorMessage": "Invalid Access Token" }

AmenyaZ commented 3 years ago

Check the provided credentials from the safaricom sit. The app may not be connected

adetheprince commented 3 years ago

Thanks, it's working now but to go live is a bit complicated.

Jopchumba commented 3 years ago

@adetheprince check this link for the solution thats the work around

adetheprince commented 3 years ago

How do you get the safari username and password I have contacted mpessa but they couldn't understand why I need it so I have explained its for LNMpessa API but looks like they never heard that before, where can I get this credential if I need to go live.