Closed (fixed)
Project:
Ubercart Product Keys
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Mar 2010 at 03:36 UTC
Updated:
14 Apr 2010 at 14:10 UTC
So when a user doesn't have an account (even if you have it that it creates one) the system cannot email the person.
What happens is the email is sent with this error in the logs: Message Error sending e-mail (from "NAME" to ).
See how the to is blank? that is what happens so it can't email the person.
It also doesn't associate with teh new account that gets created.
Comments
Comment #1
freixas commentedThanks for catching this. I'm surprised that no one else has mentioned it (I don't currently have a store using this module, so I depend on store owners to report problems).
I'll see what I can do to fix this.
Comment #2
freixas commentedHmmm...I suspect that the problem is due to the changes I made in the last release to fix other problems with issuing keys before payment is received and for allowing admin placed orders to go through. Isn't the Ubercart order system just wonderful?
Comment #3
thyatis commentedDo you have any suggestions, this limits me significantly. Thanks
Comment #4
freixas commentedYou could try rolling back to uc_product_keys 6.x-1.0-beta1.
In order to use that version, you'll need to see if your payment system works OK. You won't be able to create orders using the admin interface. And you can't be using a product created from a product class.
I'll see if I can find some time to fix this problem. I agree that it is critical.
Comment #5
freixas commentedWell, we got lucky and the fix was easy.
First, I don't issue keys if the user is not defined.
Then I added hook_uc_checkout_complete(). It gets called after anonymous user accounts are created. if the keys haven't been issued earlier, then they are issued on checkout complete.
I released RC2. Please update and let me know if this fixed your problem.