Active
Project:
UC Free Order Payment Method
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 13:37 UTC
Updated:
5 Apr 2015 at 18:10 UTC
Jump to comment: Most recent
Comments
Comment #1
cafuego commentedI kept hitting this too, on a site with COD and PayPal enabled. Using Free Order instead of COD made no difference, so I sadly had to kill a kitten to get free orders through the checkout.
The problem occurs between
uc_cart_checkout_review_form()anduc_cart_checkout_review_form_submit().When the review form is first displayed,
$_SESSION['cart_order']is set, but after you click submit, it's gone.I've worked around the problem by adding a new session var that keeps a copy of the order_id and put it back in
uc_cart_checkout_review_form_submit()if it gets unset.I think it's definitely an UC problem and not a UC Free Order problem, though.
Comment #2
naddl commentedHad the same problem in my Drupal 6 / Ubercart 2 installation and it helped me a lot.
But now I had upgraded the Shop to Drupal 7 and Ubercart 3, still running on my localhost.
After having all done I tested the shop: The same error occurs again.
My Problem is, that I am not a programmer and so I can not "translate" this hack from Ubercart 2 to Ubercart 3.
I'm kind of desperate while working on this in my limits for weeks.
So maybe anyone could help me, please?
Thanks in advance!
naddl
Comment #3
naddl commentedToday I found the reason for my problem. Hope it helps maybe somebody.
After eliminating the entire profile, the ordering process works as fine as it should.I've installed the module "Add to head" and I added some code to the head of every page like the following:
It also works after excludig the profile from the paths "cart/checkout/review" and "cart/checkout"