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

freixas’s picture

Assigned: Unassigned » freixas

Thanks 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.

freixas’s picture

Hmmm...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?

thyatis’s picture

Do you have any suggestions, this limits me significantly. Thanks

freixas’s picture

You 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.

freixas’s picture

Status: Active » Fixed

Well, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.