E commerce API授权失败。DeliveryConfirmationV3不是此协议的有效API名称

E commerce API授权失败。DeliveryConfirmationV3不是此协议的有效API名称,e-commerce,shopping-cart,shipping,usps,fedex,E Commerce,Shopping Cart,Shipping,Usps,Fedex,我正在将usps集成到我的电子商务解决方案中,但每当我尝试向测试服务器发送响应时,它都会以此响应结束。我该怎么办?您首先需要使用XML中的“DeliverConfirmCertifyV3.0Request”而不是“DeliverConfirmationV3.0Request”提交测试请求,然后使用API名称“DeliverConfirmCertifyV3”您的字符串URL应为以下格式,而不是“DeliveryConfirmationV3” string url = "?API=DeliveryC

我正在将usps集成到我的电子商务解决方案中,但每当我尝试向测试服务器发送响应时,它都会以此响应结束。我该怎么办?

您首先需要使用XML中的“DeliverConfirmCertifyV3.0Request”而不是“DeliverConfirmationV3.0Request”提交测试请求,然后使用API名称“DeliverConfirmCertifyV3”您的字符串URL应为以下格式,而不是“DeliveryConfirmationV3”

string url = "?API=DeliveryConfirmationV3&XML=<DeliveryConfirmationV3.0Request USERID=\"{0}\" PASSWORD=\"{1}\">
<Option>{2}</Option>
<ImageParameters>4X6LABEL</ImageParameters>
<FromName>{3}</FromName>
<FromFirm>{4}</FromFirm>
<FromAddress1>{5}</FromAddress1>
<FromAddress2>{6}</FromAddress2>
<FromCity>{7}</FromCity>
<FromState>{8}</FromState>
<FromZip5>{9}</FromZip5>
<FromZip4>{10}</FromZip4>
<ToName>{11}</ToName>
<ToFirm>{12}</ToFirm>
<ToAddress1>{13}</ToAddress1>
<ToAddress2>{14}</ToAddress2>
<ToCity>{15}</ToCity>
<ToState>{16}</ToState>
<ToZip5>{17}</ToZip5>
<ToZip4>{18}</ToZip4>
<WeightInOunces>{19}</WeightInOunces>
<ServiceType>{20}</ServiceType>
<POZipCode>{21}</POZipCode>
<ImageType>{22}</ImageType>
<LabelDate>{23}</LabelDate>
<CustomerRefNo>{24}</CustomerRefNo>
<AddressServiceRequested>{25}</AddressServiceRequested>
<SenderName>{26}</SenderName>
<SenderEMail>{27}</SenderEMail>
<RecipientName>{28}</RecipientName>
<RecipientEMail>{29}</RecipientEMail>
</DeliveryConfirmationV3.0Request>";
string url=“?API=DeliveryConfirmationV3&XML=
{2}
4X6LABEL
{3}
{4}
{5}
{6}
{7}
{8}
{9}
{10}
{11}
{12}
{13}
{14}
{15}
{16}
{17}
{18}
{19}
{20}
{21}
{22}
{23}
{24}
{25}
{26}
{27}
{28}
{29}
";