1. 申请好USPS 后,会收到邮件,附有相关信息。
2.Magento后台关键设置好User ID和Gateway URL,另外最好把debug打开,以便查看shipping_usps.log。
3.如果没有一次性成功,通常会遇到“This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us. ”这个提示。
关于这个问题,在日志文件里有遇到的三点错误描述:
- Invalid URI supplied
- Authorization failure. You are not authorized to connect to this server.
- API Authorization failure. RateV3 is not a valid API name for this protocol.
第一点,绑定的地址错了
第二点,User ID错误(第一次保存OK,再次保存后no working. QoQ)
第三点,测试环境的时候,没接受完整的RateV3(改到生产环境即可)