osen-wc-mpesa icon indicating copy to clipboard operation
osen-wc-mpesa copied to clipboard

(MPesa Error) 404.001.03: Invalid Access Token

Open Kevokoma opened this issue 4 years ago • 11 comments

Hi Dev team,

First things first, thanks for sharing such a valuable tool with us for free. I truly appreciate it.

Now, I was trying to setup an stk push for a client using your plugin but I am at an impasse.

I keep getting this error: (MPesa Error) 404.001.03: Invalid Access Token.

Despite the fact that all credentials are the same.

What could be the issue?

Could you kindly assist me on this?

Kevokoma avatar Oct 20 '21 07:10 Kevokoma

What version of the plugin are you using?

maukoese avatar Oct 21 '21 11:10 maukoese

Version 3.0.0

Kevokoma avatar Oct 21 '21 12:10 Kevokoma

The latest release?

maukoese avatar Oct 21 '21 12:10 maukoese

Yes, the one from the master branch. Last update was made 9 days ago

Kevokoma avatar Oct 21 '21 12:10 Kevokoma

Your assistance on this will be greatly appreciated.

Kevokoma avatar Oct 22 '21 05:10 Kevokoma

The latest release?

I really appreciate your work.

Version 3.0.1RC shows the following error when I try enabling manual payments. Kindly assist

“Callback URLs Registration

Error Occurred - Invalid Access Token - Invalid access token”

muthumbinick avatar Nov 04 '21 14:11 muthumbinick

I'm having a similar issue with B2C transactions. I'm checking if it's an MPESA error or a fault on my end.

maukoese avatar Nov 04 '21 16:11 maukoese

I realized swapping the shortcode and store number for C2B on version 1.20.99 gets the URLs registered but then that’s no fix. This one is a real brainer. Hopefully it’s solved soon.

muthumbinick avatar Nov 04 '21 16:11 muthumbinick

I fixed this one on the more recent versions.

maukoese avatar Jan 18 '22 18:01 maukoese

hello, i have tried debugging this issue of invalid access token too but i still keep getting the same error even after entering the Production credentials on the Live environment, i have been careful to enter the correct values but to no avail.

kindly assist @maukoese

OliverWachira avatar Mar 16 '22 19:03 OliverWachira

Hi. Kindly share your config, via WhatsApp 0705459494

Sent from my iPhone

On 16 Mar 2022, at 21:00, OliverWachira @.***> wrote:

 hello, i have tried debugging this issue of invalid access token too but i still keep getting the same error even after entering the Production credentials on the Live environment, i have been careful to enter the correct values but to no avail.

kindly assist @maukoese

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

maukoese avatar Mar 16 '22 21:03 maukoese