Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS module suddenly not responding.


Recommended Posts

I did not make any changes other than adding attributes to some products and now my UPS module is not responding.  No rates at all.  Different product doesnt change results, nor address.  

Was working just a couple of days ago (before I went live of course)

Link to comment
Share on other sites

error log does have entries:

 

2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/models/Product/Price.php:335
2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526
2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526
2023-05-26 19:43:26 [129.222.(removed)][72][-][warning][PHP8Warning] Undefined array key "reset_static_product_prices_cache" at /home/(removed)/osc/lib/common/classes/shopping_cart.php:1526
2023-05-26 19:43:27 [129.222.(removed)][72][-][warning][application] ups: cant get quotes: 'error'
Link to comment
Share on other sites

It seems that starting after May 23, 2023, the old API for UPS rates stopped working.

Try to use Personal Rate UPS Shipping module.

The XML API will require valid ups.com developer credentials. Specifically you'll need a username, password, and access key. You'll plug these into the extension's settings.

Link to comment
Share on other sites

@pandrei

The personal rates also crashes with "please contact us if you see this page"

The error log has the entry:

 

ups: disabled because of wrong zone

I have tried all 3 available in the backend, but I suspect its a UPS zone, not an oscommerce one.

Link to comment
Share on other sites

  • 2 months later...

I am running 4.12 and I just flushed the chaches.
I now get this error in several places.


Warning: Undefined array key "reset_static_product_prices_cache" in /var/www/html/oscommerce4/lib/common/classes/shopping_cart.php on line 1526
please contact us if you see this page

 

I can't see anywhere in the code that this is set. Is it in a database table somewhere??

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...