In my development site, while testing a quantity limit module as User 1, I noticed that in /cart the Update Cart button wasn't working, it would redirect back to /cart without any changes made to the quantity, so I tried the Checkout button and it would also redirect back to /cart.
Going to /cart/checkout manually works, as do the Cancel and Review Order Buttons.
Ubercart 6.x-2.x-dev (2011-Jan-24)
Signup 6.x-1.x-dev (2011-Jan-10)
Signup Integration for Ubercart 6.x-1.0-beta6
While troubleshooting this I tried running Update, clearing all caches, and disabled all known UC related modules until problem resolved - the only one that made a difference is the Signup Integration for Ubercart. Unfortunately, I don't know when this functionality was last working. It doesn't generate any errors. Note this is also independent of having a Signup product in the cart (it seems to fail regardless of product).
I tried but it still fails with uc_signup 6.x-1.x-dev (2010-Nov-12)
Any ideas or how to further troubleshoot?
Thanks!!
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | uc_signup-540298-off-site-b.patch | 1.79 KB | ezra-g |
| #8 | 1040970-uc-dev-cart.patch | 1.6 KB | ezra-g |
Comments
Comment #1
todd zebert commentedI've even tried disabling and deleting UC, Signup and Signup UC, then re-enabling them only the absolute minimum modules. No change!
Comment #2
teustis commentedfollowing
Comment #3
TimelessDomain commentedi'm experiencing this as well.
i think it has something to do with the latest release of ubercart as the workflow has changed after being updated.
If i remember correct, upon initially adding a signup product to the cart - a user is instantly prompted to provide their email/ other info. This is no longer happening. When i go to the cart /cart and click checkout -> i get redirected back to the cart. If i type in the checkout url /cart/checkout & hit submit -> i go to the checkout page after having to fill out the signup email/ other info uc_signup/attendees/emails .
Furthermore past signups & aborted signup are being combined w/ the products in my cart here uc_signup/attendees/profiles -> and this is allowing users to purchase the old/ extra events for free. If the old events were already paid for - a "Signups are closed for this event." message appears on the review page cart/checkout/review & stops me from completing the checkout. (note: i am limiting events to 1 signup). If the old events were added to the cart, but never completely paid for, it allows you to complete the checkout & gives you these events for free (on top of the ones you paid for).
I am raising this issue to critical -> since this is breaking the functionality of this module & since it is most likely related to its compatibility w/ the latest ubercart dev. releases.
Comment #4
todd zebert commented@TimelessDomain Wow, great help, thanks. My issue was occurring with a sandbox site which I was already recreating on a QA site, so I gave up on this issue. Although I was hoping it wouldn't reoccur. On the QA I'm using non-dev Ubercart with a couple manual patches and non-dev Signup but Signup Integration b6, so hopefully that won't break!
Comment #5
Anonymous (not verified) commentedThis is really critical. We have the same issue.
I hope this will be fixed soon. I can not activate this in our site and we need this badly.
Thanks
Comment #6
TimelessDomain commentedComment #7
ezra-g commentedThis seems to be caused by the following in uc_cart.module:
We probably want to move the redirect logic from uc_signup_order() case view to a shared function that can determine the redirect location for the uc_cart_view_form(), as well as being called from uc_signup_order().
Comment #8
ezra-g commentedActually, strike the point in my previous comment about a shared function to determine where to redirect. We already do that in the uc_signup order pane, and that seems like the appropriate place.
Here's a patch that at least lets get folks to the checkout page, though we now need to implement hook_update_cart_item() to deal with item quantity changes.
I've set up a 1040970-uc-dev-cart where I'm also posting progress commits for folks who are interested. My main motivation for that branch is to make it possible to start working on #540298: Signups not created when off-site payment methods fail to call hook_order case submit..
Comment #9
mariagwyn commentedfollowing...same problem, waiting for dev release.
Comment #10
ezra-g commentedHere's a revised version of this patch. We actually can't implement hook_update_cart_item() because uc_signup is not the owning product module for the signup-enabled products - uc_product is.
However, we can detect which button was used to submit the update cart form and update the $_SESSION information accordingly. I've revised and tested this patch with items being removed from the cart, changed quantities, and quantities set to 0.
I think this is RTBC.
Comment #11
ezra-g commentedThis is committed.
http://drupalcode.org/project/uc_signup.git/commit/cba0a33
Comment #12
ezra-g commentedDespite the title of the patch filename being incorrect, this was in fact the correct patch ;).