如何解决 Safaricom C2B 错误 "Unable to identify proxy for host"
How to solve Safaricom C2B error "Unable to identify proxy for host"
我正在使用测试凭据与 Safaricom Mpesa Daraja Api 合作。一切正常,但突然我开始收到错误。
{"fault":{"faultstring":"Unable to identify proxy for host: secure and url: \/mpesa\/stkpush\/v1\/processrequest","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}
下面是curl post数据:
array:11 [▼
"BusinessShortCode" => 174379
"Password" => "My Password Here"
"Timestamp" => "20210429060420"
"TransactionType" => "CustomerPayBillOnline"
"Amount" => 1
"PartyA" => "25470..My Number Here"
"PartyB" => 174379
"PhoneNumber" => "25470..My Number Here"
"CallBackURL" => "https://f0d77d3643b3.ngrok.io/confirmation/deposit_1619678899"
"AccountReference" => "Account"
"TransactionDesc" => "Testing stk push on sandbox"
]
虽然没有人给出解决方案,但我已经看到了一些关于这些错误的参考资料。我该如何解决。
原来解决这个问题的唯一方法是联系 Safaricom Api 支持团队并要求他们纠正问题。