Callback URLs need to be first registered with the M-Pesa APIs, ensure you do that first. When registering, you might want to change the API versions because the default ones given might fail sometimes. So, if v1 fails to register your callback URL, try using v2...