如何从USPS运送API图像中删除“样品请勿邮寄" [英] How to remove 'SAMPLE DO NOT MAIL' from USPS shipping API image

查看:210
本文介绍了如何从USPS运送API图像中删除“样品请勿邮寄"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用USPS运送API时遇到了问题

I am having problem with USPS shipping API

这是我的XML

它返回正确的图像,但在其上面写有"SAMPLE DO NOT MAIL".如何删除?

It return the correct image but on top of it it is written SAMPLE DO NOT MAIL. How to remove that?

推荐答案

我假设您已经在这里注册了USPS Web工具:

I assume that you have already registered for USPS Web Tools here:

https://secure.shippingapis.com/registration/

并且已从USPS收到您的帐户有效的确认:

And have received confirmation from USPS that your account is active:

如果您需要设置USPS或客户在结帐时收到此错误(请参阅下文),则应确认以下内容

If you need to set up USPS or your customers are receiving this error on check out (See below) you should confirm the following

  1. 确认我们的USPS API访问权限已获批准

  1. Confirm that our USPS API access is approved

确认它不在测试模式下并且处于生产模式

Confirm that it is not in test mode and is in production mode

  • 如果USPS指出您的帐户处于活动状态,则并不意味着它处于生产模式-您需要致电USPS并明确要求在您的帐户获得批准后将其转移到生产模式.一个好主意是执行此快速测试:

将以下内容插入您的浏览器中,并使用您自己的USERID代替任何浏览器URL中的XXXX:

Insert the following into your browser with your own USERID in place of the XXXX in the URL of any browser:

https://secure.shippingapis.com/ShippingAPITest.dll?API=CarrierPick ... USERID ="XXXX"> ABC Corp.Suite 7771390 Market StreetHoustonTX770581234

https://secure.shippingapis.com/ShippingAPITest.dll?API=CarrierPick... USERID="XXXX">ABC Corp.Suite 7771390 Market StreetHoustonTX770581234

如果您的USPS帐户处于活动状态,则应接受用户名.

If your USPS account is active, it should accept the username.

  1. 确认您的用户名和密码仅用于此站点. USPS每个帐户只允许使用1个域.

http://production.shippingapis.com/ShippingAPI.dll

问题在于,默认情况下,您无权访问USPS的生产API.他们必须首先批准您.请记住,它们仅允许您在每个帐户的一个网站上使用它,因此,如果要为客户之外的客户,客户或其他业务实体设置Magento,则应为他们设置一个单独的USPS帐户

The problem is that by default, you don’t have access to USPS’s production API. They have to approve you first. Keep in mind that they only allow you to use it on one web site per account, so if you’re setting Magento up for a client, customer, or other business entity other than your own you should set up a separate USPS account for them.

这就是为什么您在生成的送货标签上收到此文本-不邮寄样品"的原因.

That's why you're receiving this text - "Sample Do Not Mail" over the generated shipping label.

您可以在此处设置USPS WebTools帐户:

You can set up your USPS WebTools account here:

http://www.usps.com/webtools/

设置帐户后,他们将使您能够访问测试环境. USPS测试API的URL为: http://testing.shippingapis.com/ShippingAPITest.dll

Once you have set up your account, they will give you access to the testing environment. The URL for the USPS test API is: http://testing.shippingapis.com/ShippingAPITest.dll

我建议让USPS打开生产模式.当获得USPS批准使用生产API时,应使用以下URL:

I recommend asking USPS to turn on production mode. When you are approved by USPS for the production API, you should use the following URLs:

http://production.shippingapis.com/ShippingAPI.dll

https://secure.shippingapis.com/ShippingAPI.dll

完成测试后,请向USPS互联网客户服务中心(ICCC)发送电子邮件.他们将切换您的个人资料,以允许您访问生产服务器,并为您提供生产URL.

When you have completed your testing, email the USPS Internet Customer Care Center (ICCC). They will switch your profile to allow you access to the production server and will provide you with the production URLs.

ICCC的人员如下: 周一至周五,美国东部时间上午8:00至晚上8:30 东部时间星期六从8:00 AM到6:00 PM 周日和邮政节假日-除以下节假日外关闭:马丁·路德·金(Martin Luther King);总统日;哥伦布日; &退伍军人节,时间为美国东部时间上午9:00至下午6:00

The ICCC is staffed as follows: Monday through Friday from 8:00AM to 8:30PM Eastern Time Saturday from 8:00AM to 6:00PM Eastern Time Sunday and Postal Holidays - Closed except for the following Holidays: Martin Luther King; President's Day; Columbus Day; & Veteran's Day with hours from 9:00AM to 6:00PM Eastern Time

电子邮件:uspstechsupport@esecurecare.net 电话:1-800-344-7779

E-mail: uspstechsupport@esecurecare.net Telephone: 1-800-344-7779

但是请记住,为每个网站(或每个域至少一个)设置一个单独的USPS帐户非常重要.如果您在多个网站上使用您的帐户被发现,USPS将禁止您访问其生产服务器.

But remember, it’s very important that you set up a separate USPS account for each web site (or at least one per domain). USPS will disable your access to their production server if you are caught using your account on multiple web sites.

要请求访问USPS生产API,请在此处填写表格: http://www.usps.com/webtools/webtoolsapirequestform.htm

To request access to the USPS production API, fill out the form here: http://www.usps.com/webtools/webtoolsapirequestform.htm

USPS不允许您使用其API进行批处理或数据清理,因此请确保不要在请求表中选中这些框.

USPS doesn’t allow you to use their API for batch processing or data cleansing, so be sure to NOT check these boxes on the request form.

一旦USPS允许您访问其生产API服务器,一切都应与所有USPS运送选项相对应.如果仍然遇到问题,请再次检查您是否可以访问USPS的生产API服务器.

Once USPS gives you access to their production API server, everything should work corresponding to all USPS shipping options. If you are still having trouble, again check that you have access to USPS’s production API server.

这篇关于如何从USPS运送API图像中删除“样品请勿邮寄"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆