问题标签 [ups]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
13099 浏览

php - UPS API,包括正确的 WSDL 文件和端点

我是使用 WSDL 的新手。我以前使用过 REST,但不是这个。我正在尝试运行 UPS 开发人员站点中包含的示例代码文件。本指南的第 23 页是我正在使用的 API。您可以下载的文件包括我仔细阅读过的十个指南,但我只是想弄清楚如何填写下面的顶部配置部分(我使用的是 php 示例代码文件 SoapRateClient.php)。我为 WSDL 放了什么?我为端点网址放了什么?您在他们的网站上下载的文件有几个 wsdl 文件,我不确定应该选择哪一个。指导表示赞赏。

0 投票
3 回答
2745 浏览

python - UPS:每个货件需要一个计费选项

我是 UPS api 的新手,我正在尝试向 UPS 调用 ShipmentConfirmRequest,这是我使用 python 发送到 wwwcie.ups.com/ups.app/xml/ShipConfirm 的 xml 格式。

但我得到了不好的反应,比如

谁能指导我如何摆脱它?

0 投票
1 回答
3036 浏览

magento - magento ups发货API

我想在 magento 中使用 UPS api 计算运费。

我获得了 UPS 评级 API,它将在您登录后从以下网址计算运费。

https://www.ups.com/upsdeveloperkit/downloadresource?loc=en_US

开发指南显示我们可以使用 xml 或 SOAP 调用来实现这一点。

如果可能的话,谁能告诉我如何在magento中实现它,在编码级别解释它。

0 投票
1 回答
222 浏览

php - 强制下载生成的 UPS 标签

我正在使用第三方 php 类与 UPS 对话并生成标签。生成的标签数据采用 Base64 格式,我可以这样显示。

我只是在寻找一种方法来强制下载此图像(作为 GIF),而不仅仅是显示它。

知道这怎么可能吗?

0 投票
1 回答
448 浏览

api - UPS:为什么 UPS Freight API 的 TimeInTransit 不起作用?

有谁知道如何获得 UPS 货运的运输时间。在开发人员指南中,我找到了指定 TimeInTransitIndicator 选项的说明:

该标签的存在表示已请求运输时间信息并将其返回。

但是 UPS 的响应中没有任何 /FreightRateResponse/TimeInTransit 标签。

<xsd:element name="TimeInTransit" type="xsd:string" minOccurs="0"/>UPS 开发人员工具包的响应标签中的 FreightRateWebServiceSchema.xsd 文件中也没有这样的标签<xsd:element name="FreightRateResponse">

有谁知道如何获得TimeInTransit货运API?很高兴有任何帮助。

0 投票
1 回答
1236 浏览

php - 通过 api 在 ups.com 中创建发货订单

我有 api 密钥和 ups.com 的所有登录凭据,我想在我的订单通过 api 调用成功放置在我的网站后创建发货,我已阅读文档但我没有得到具体的代码或调用。欢迎任何帮助....

0 投票
2 回答
336 浏览

php - What does "-1" means in the delivery day and delivery time of return data from UPS API

I am working with UPS API and having a problem with the result return by UPS API. I am getting the result ,which look like this :

Which is perfect , But when you see in first array, delivery day and time show the value "-1". In the second array delivery day value is 3 and time is "-1" . I need to know what does it means? It is really confusing. Please help.

0 投票
1 回答
304 浏览

java - Websphere 7 与 UPS Web 服务集成

我正在尝试将我的应用程序与 UPS Web 服务集成在Websphere 7. 但它给出了证书链接错误。我怎样才能解决这个问题?

0 投票
1 回答
1708 浏览

api - Querying UPS API to find out how much they charged me for a shipment: Is it possible?

I'm working on an application that integrates with several of UPS's APIs, but there's one piece of information I can't figure out how to retrieve: how much UPS charged us to ship a package.

This information is available through the UPS web app, and I can't see in principle why it shouldn't be available programmatically. Is it?

NB: I know that you can send UPS information about the shipment and get back an estimated shipping cost, but that's not what I'm after. What I would like to retrieve is that actual shipping cost for a shipped package, specifically the "Public Charge", "Incentives", and "Net Amount" values listed on UPS invoices.

0 投票
1 回答
343 浏览

drupal-7 - ubercart 中的 Ups

ubercart 中需要 UPS OnLine Tools XML 访问密钥。所以我在UPS developer中注册并登录,但它在询问:

添加现有 UPS 账户 添加现有 UPS 账户或开设 UPS 账户或添加支付卡 添加支付卡。

如果我尝试使用我的 PayPal 沙盒帐户信用卡号,它会显示为无效。我如何测试它或在此处获取密钥,以便我可以在 ubercart ups 地方应用它并检查它。

任何帮助将不胜感激。