Since upgrading I'm getting this error:

There were problems determining if any discounts apply. Please try again shortly.
If this does not resolve the issue, please call +420 722 731 866 to complete your order.

Any suggestions? Thanks!

Comments

pyxio’s picture

Title: There were problems determining if any discounts apply » ERROR: There were problems determining if any discounts apply
pyxio’s picture

Is it necessary to install a previous version of uc disounts to solve this problem? Where can I get an older version of the module? Thanks.

jrust’s picture

Status: Active » Postponed (maintainer needs more info)

That error message only shows up if there was some kind of AJAX or Javascript error. You'll need to debug with firebug if you're still getting it in the latest release.

pyxio’s picture

It looks like it is OK in Chrome. The error appears in Firefox and IE. I haven't tested Opera yet. Anyway, the error was never there on previous versions of this module. How can I solve it?

denes.szabo’s picture

It is wrong my chrome too (linux- chromium 10.0.648.6 (72589) Ubuntu 10.10).

denes.szabo’s picture

The error is somewhere there: uc_payment.js?y (line 190)

The js drops this error:
TypeError: Drupal.settings.ucURL is undefined
[Break On This Error] $.post(Drupal.settings.ucURL.checkoutLineItems, {order: serializeOrder()},

This uc_payment js comes from the ubercart/payment/uc_payment.js (uc_payment module).

I hope info helps a bit.

denes.szabo’s picture

Category: support » bug

I think, it is a bug, because the checkout page is not working.

zserno’s picture

ubercart/uc_cart/uc_cart_checkout_pane.inc's function _checkout_pane_list(), collects implementations of hook_checkout_pane(). During this, it looks for so called uc_pane_[MODULE_NAME]_enabled variables.
Looks like deleting uc_pane_payment_enabled variable solves this issue, however I'm a bit concerned about this workaround, since it may break something.

vasyok’s picture

zserno, thanks!

freq’s picture

Status: Postponed (maintainer needs more info) » Active

Hi I still got this error on drupal 6.25, ubercart 6.x-2.9.

I tried different versions of discount from 6.x-2.0 up to 6.x-2.4 and on latest 6.x-2.x-dev.

I tried it with different browser IE, FF, Opera, Chrome. But strangely, I get the error only in FF and Opera.

In IE and Chrome it runs corrently like i wished. Its very strange.

I've tried the tip of zserno too, but I don't find the item uc_pane_payment_enabled not in the ubercart/uc_cart/uc_cart_checkout_pane.inc

I hope someone can help, it is very urgent. It is a basic function that we need in the shop

Thank you
Freq

hockey2112’s picture

I just had this issue pop up literally out of the blue, with no warning and no changes to my website's code, structure, or modules. Can anyone please provide some guidance on how this issue can be rectified?

Here is my site: http://tinyurl.com/cycsf66. Just add any product to the cart and proceed to checkout to see the issue in action.

hockey2112’s picture

My issue is now fixed! The site is hosted by Hostgator, and they had placed a limit on the maximum number of processes that could run on my site at one time (I believe they said it was set to either 10 or 25). This was resulting in an intermittent error message: "Service Unavailable User has reached the maximum amount of processes while being limited, Webmaster: please contact support. (9)".

I called Hostgator about that issue. They removed the limit (or increased it drastically), and the "problems determining if any discounts apply" error message no longer appears! Hopefully this can help others fix this same issue on their site(s).