php – USPS运费计算器API未返回有效响应
发布时间:2020-12-13 21:47:10 所属栏目:PHP教程 来源:网络整理
导读:我从USPS收到此错误 我在 http://production.shippingapis.com/ShippingAPI.dll?API=RateV4XML=进行查询 Error Number80040b1a/Number DescriptionAuthorization failure. You are not authorized to connect to this server./Description SourceUspsCom::Do
我从USPS收到此错误
我在 http://production.shippingapis.com/ShippingAPI.dll?API=RateV4&XML=进行查询 <Error> <Number>80040b1a</Number> <Description>Authorization failure. You are not authorized to connect to this server.</Description> <Source>UspsCom::DoAuth</Source> </Error> 如果我在测试服务器http://production.shippingapis.com/ShippingAPItest.dll?API=RateV4&XML=进行相同的查询,它会得到以下错误 <Error> <Number>80040b1a</Number> <Description>API Authorization failure. RateV4 is not a valid API name for this protocol.</Description> <Source>UspsCom::DoAuth</Source> </Error> 解决方法
Ravish-RateV4不适用于测试服务器,因此您将无法获得任何响应.而且,对于生产服务器中的RateV4,您需要获得ICCC,USPS的许可.希望能帮助到你.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |