[Skip to main content](#vessel-content)

#   USPS International Rates Too Low

##

- **[Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")**
- [![Nifdi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34154-nifdi "View Nifdi's Profile") Topic Author
- [ Offline](/forum/user/34154-nifdi)

Less More

- Posts: 12
- Thank you received: 0
-
- [](http://www.nifdi.org)
-

11 years 6 months ago [\#198923](#198923) by [Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")  Replied by *[Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")* on topic *[USPS International Rates Too Low](/forum/28-shipping-methods/876349-usps-international-rates-too-low?start=20#198923 "-- url of the page with the problem -- :   www.nifdi.org/resources/store  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.39 -- Browser(s) name and version -- : Safari 7.1.4  We just discovered that our USPS API is apparently returning shipping rate quotes for international orders that are way too low. For example, an order placed on Friday charged $6.55 to ship from the west coast of the US to Iceland. The actual cost was over $60. In fact, another international order a week or so earlier was also charged $6.55, as though this has become some sort of default amount. I suspect this problem may be related to USPS's API update from earlier this year when their rates changed, but can't figure out how to test this theory. International orders placed last year charged shipping at various rates, all of which seem pretty reasonable. Domestic shipments are fine then and now.  At this point, I've disabled international orders to keep from losing money on shipping problems. However, we NEED to be able to ship internationally and I don't know what to do to remedy this problem.  Thanks in advance to anyone who can help me. I'm panicking!")*

I'm so sorry - you're right! I'm resending credentials now. Sorry again!

---

The Gold Standard in Direct Instruction.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MzQ5LXVzcHMtaW50ZXJuYXRpb25hbC1yYXRlcy10b28tbG93P3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 6 months ago -  11 years 6 months ago [\#198979](#198979) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[USPS International Rates Too Low](/forum/28-shipping-methods/876349-usps-international-rates-too-low?start=20#198979 "-- url of the page with the problem -- :   www.nifdi.org/resources/store  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.39 -- Browser(s) name and version -- : Safari 7.1.4  We just discovered that our USPS API is apparently returning shipping rate quotes for international orders that are way too low. For example, an order placed on Friday charged $6.55 to ship from the west coast of the US to Iceland. The actual cost was over $60. In fact, another international order a week or so earlier was also charged $6.55, as though this has become some sort of default amount. I suspect this problem may be related to USPS's API update from earlier this year when their rates changed, but can't figure out how to test this theory. International orders placed last year charged shipping at various rates, all of which seem pretty reasonable. Domestic shipments are fine then and now.  At this point, I've disabled international orders to keep from losing money on shipping problems. However, we NEED to be able to ship internationally and I don't know what to do to remedy this problem.  Thanks in advance to anyone who can help me. I'm panicking!")*

Hi,

Thanks, it's working better.
I put some debug traces and I was able to see the problem in the algorithm of the plugin.
Because the plugin was not made originally by the HIkaShop team.

For several shipping methods We can't have test account.. Mostly because we are not based on the US.. So USPS, UPS or Fedex are shipping system were we are not able to deal with, due to some lack of documentation or test account.

I found some issues in the original plugin and we will see to rewrite a part of that plugin.
For the moment I edited you the plugin and just remove (comment) that block of code Code:

if(empty($usps_rates)) { $app = JFactory::getApplication(); $app-&gt;enqueueMessage( 'Failed to obtain shipping quotes.') ; $responseError = true; }

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 11 years 6 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

The following user(s) said Thank You: [Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MzQ5LXVzcHMtaW50ZXJuYXRpb25hbC1yYXRlcy10b28tbG93P3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")**
- [![Nifdi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34154-nifdi "View Nifdi's Profile") Topic Author
- [ Offline](/forum/user/34154-nifdi)

Less More

- Posts: 12
- Thank you received: 0
-
- [](http://www.nifdi.org)
-

11 years 6 months ago [\#199021](#199021) by [Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")  Replied by *[Nifdi](/forum/user/34154-nifdi "View Nifdi's Profile")* on topic *[USPS International Rates Too Low](/forum/28-shipping-methods/876349-usps-international-rates-too-low?start=20#199021 "-- url of the page with the problem -- :   www.nifdi.org/resources/store  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.39 -- Browser(s) name and version -- : Safari 7.1.4  We just discovered that our USPS API is apparently returning shipping rate quotes for international orders that are way too low. For example, an order placed on Friday charged $6.55 to ship from the west coast of the US to Iceland. The actual cost was over $60. In fact, another international order a week or so earlier was also charged $6.55, as though this has become some sort of default amount. I suspect this problem may be related to USPS's API update from earlier this year when their rates changed, but can't figure out how to test this theory. International orders placed last year charged shipping at various rates, all of which seem pretty reasonable. Domestic shipments are fine then and now.  At this point, I've disabled international orders to keep from losing money on shipping problems. However, we NEED to be able to ship internationally and I don't know what to do to remedy this problem.  Thanks in advance to anyone who can help me. I'm panicking!")*

Thank you, Jerome!

I understand those outside groups, like USPS, pose a problem for you as a developer and for troubleshooting/resolving this kind of problem. I appreciate the workaround for the error code -- that should really help!

---

The Gold Standard in Direct Instruction.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MzQ5LXVzcHMtaW50ZXJuYXRpb25hbC1yYXRlcy10b28tbG93P3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
