解析Bug #245
UPS tracking function doesn't work in OTS
Description
- Andy requirement: 我司订单OST系统想在线能查询UPS运单运输信息,需要UPS提供相应信息技术人员邮件和我司IT组长 van@redbluetrading.com 联系
UPS API 支持 :待确认
- Claim from Andy
- Report and Solution
Others
Updated by Zhongbao Ye almost 3 years ago
- Status changed from 进行中 to 已关闭
- % Done changed from 0 to 100
Output(2023/2/13)
以下是USP技术支持( stomas@ups.com)的邮件交流。
------
Van:
关于UPS tracking API的调用,可能我们需要重新开通权限,以下是我们Request和Response的调试内容,请确认。
有任何技术问题,可以联系van(van@redbluetrading.com),谢谢!
URL:https://onlinetools.ups.com/ups.app/xml/Track
Request:
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>1CE0BDA3653B6133</AccessLicenseNumber>
<UserId>v533v8api</UserId>
<Password>w4u0xHg2</Password>
</AccessRequest>
<?xml version="1.0"?>
<TrackRequest xml:lang="en-US">
<Request>
<TransactionReference/>
<RequestAction>Track</RequestAction>
<RequestOption>7</RequestOption>
</Request>
<TrackingNumber>1ZV533V80492820346</TrackingNumber>
</TrackRequest>
Response:
<TrackResponse>
<Response>
<ResponseStatusCode>0</ResponseStatusCode>
<ResponseStatusDescription>Failure</ResponseStatusDescription>
<Error>
<ErrorSeverity>Hard</ErrorSeverity>
<ErrorCode>250002</ErrorCode>
<ErrorDescription>Invalid Authentication Information.</ErrorDescription>
</Error>
</Response>
</TrackResponse>
------
stomas:
<UserId>v533v8api</UserId>
<Password>w4u0xHg2</Password>
以上信息或者user id不对,或者密码已变。
新的访问密钥: ADCD9DF0A2900AD5
切记每 12 个月验证您的联系信息,以避免服务干扰。您将在续订日期到期的 30 天内收到一封电子邮件提醒。
续订日期: 2024/02/11
==========================================
解决方案:
重新激活v533v8api账号,使用新的password和access_key
// old:
ups_username = v533v8api
ups_password = w4u0xHg2
ups_access_key = 1CE0BDA3653B6133
ups_test_mode = false
// new:
ups_username = v533v8api
ups_password = ups.12345678
ups_access_key = ADCD9DF0A2900AD5
ups_test_mode = false
// old:
ups_username = v533v8api
ups_password = w4u0xHg2
ups_access_key = 1CE0BDA3653B6133
ups_test_mode = false
// new:
ups_username = v533v8api
ups_password = ups.12345678
ups_access_key = ADCD9DF0A2900AD5
ups_test_mode = false