bnjunge / MPESA-API-Tutorial

This is a Daraja API MPESA tutorial repo
MIT License
52 stars 67 forks source link

Server-Time difference. #1

Closed Evanskiragu closed 5 years ago

Evanskiragu commented 5 years ago

I hosted the stkPush, but it will not work, unless you have this:

date_default_timezone_set('Africa/Nairobi');

Right before getting the TimeStamp. This is notorious when working with offshore servers that are a day behind.

bnjunge commented 5 years ago

Fixed, Thanks for pointing out.

Daenjel commented 5 years ago

my code is returning my access_token key. any help please?

On Fri, 15 Mar 2019 at 22:36, Ben Njunge notifications@github.com wrote:

Fixed, Thanks for pointing out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bnjunge/MPESA-API-Tutorial/issues/1#issuecomment-473416001, or mute the thread https://github.com/notifications/unsubscribe-auth/AY5QT0eKa-BO2UroyPAXoKk_O4WUE8nnks5vW_Y8gaJpZM4baW6f .