osenco / osen-wc-mpesa

WordPress Plugin that extends WooCommerce functionality to integrate MPESA for making payments, remittances, checking account balance, transaction status and reversals.
https://wcmpesa.co.ke
GNU General Public License v3.0
94 stars 90 forks source link

Invalid Access Token #59

Open m-langat opened 1 year ago

m-langat commented 1 year ago

I have been frequently getting the Invalid Access Token error that resolves in the course of the day. Note that the production configs are all correct. I narrowed it down to the mpesa_token, which I suspect is not updated in time. It might be an isolated issue, so I am raising it in case anyone has a similar problem.

I installed the transient manager to clear the transient variable whenever it comes up. Hope it helps.

maukoese commented 1 year ago

Thank you.

I'll have a look at this.