bnjunge / MPESA-API-Tutorial

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

Hi i have been tryimg to write a script for c2b but i get a similar error code i,e #8

Closed PatrickNthiwa closed 2 years ago

PatrickNthiwa commented 2 years ago
    Hi i have been tryimg to write a script for c2b but i get a similar error code i,e

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

what can i do to solve the problem because i have tried to use the shortcode mentioned ealier but still the error is there!

Originally posted by @PatrickNthiwa in https://github.com/bnjunge/MPESA-API-Tutorial/issues/2#issuecomment-1312464926