Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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
Comment #1
pyxio CreditAttribution: pyxio commentedComment #2
pyxio CreditAttribution: pyxio commentedIs 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.
Comment #3
jrust CreditAttribution: jrust commentedThat 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.
Comment #4
pyxio CreditAttribution: pyxio commentedIt 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?
Comment #5
denes.szabo CreditAttribution: denes.szabo commentedIt is wrong my chrome too (linux- chromium 10.0.648.6 (72589) Ubuntu 10.10).
Comment #6
denes.szabo CreditAttribution: denes.szabo commentedThe 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.
Comment #7
denes.szabo CreditAttribution: denes.szabo commentedI think, it is a bug, because the checkout page is not working.
Comment #8
zserno CreditAttribution: zserno commentedubercart/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.
Comment #9
vasyok CreditAttribution: vasyok commentedzserno, thanks!
Comment #10
freq CreditAttribution: freq commentedHi 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
Comment #11
hockey2112 CreditAttribution: hockey2112 commentedI 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.
Comment #12
hockey2112 CreditAttribution: hockey2112 commentedMy 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).