bnjunge / MPESA-API-Tutorial

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

Mpesa API Error #3

Closed thomasabol608 closed 3 years ago

thomasabol608 commented 4 years ago

{"Envelope":{"encodingStyle":"http:\/\/schemas.xmlsoap.org\/soap\/encoding\/","Body":{"Fault":{"faultcode":"soap:Server","faultstring":"Execution of ServiceCallout SCO-AddURLVault failed. Reason: ResponseCode 409 is treated as error","faultactor":{},"detail":{"source":{"errorcode":"steps.servicecallout.ExecutionFailed"}}}}}}

StilinskiCyril commented 3 years ago

You must have defined your Shortcode which is Lipa na Mpesa Online Shortcode. From Safaricom, “the Lipa na Mpesa Online Shortcode is meant for STK push only.” And that is why you are unable to register yourconfirmation and validation URL.