Closed (fixed)
Project:
e-Commerce
Version:
5.x-3.x-dev
Component:
ec_useracc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2007 at 21:22 UTC
Updated:
20 Nov 2008 at 13:04 UTC
I have a product and selected "Create an account for the user when this product is purchased." Anonymous purchasing policy is set to "Anonymous only" globally and for the product.
Placing an order did not result in a user being created.
I made a code tweak that worked for me. I haven't tested it in other scenarios due to lack of time.
| Comment | File | Size | Author |
|---|---|---|---|
| ec_useracc-patch.txt | 655 bytes | jbjaaz |
Comments
Comment #1
B747 commentedHow exactly do I apply this patch, please?
Comment #2
jbjaaz commentedunfortunately, I can't easily explain that in a post. Check out Drupals Patches section for an overview as well as applications you can use.
As a last resort, you can email me and I'll send you the modified module file.
Comment #3
gordon commentedWhat version of PHP are you using?
I am guessing that it is v5.x as this will have problems
Comment #4
gordon commentedAlso I noticed that there will be a problem if you are using paypal.
Comment #5
jbjaaz commentedI can't speak for heebiejeebieclub, but I'm rocking php4 and authorize.net
Comment #6
Macc commentedThis fix is not working for me! I have to finish a webshop, but i can't without this featuer. I really need it, and would pay for your extra work!
Comment #7
gordon commentedCan you please expand on this patch and explain more on what it is doing.
Comment #8
ms2011 commentedSame problem here. I'm selling a generic product via anonymous checkout to PayPal and generating a new user account at sale confirmation. Unfortunately, ec_useracc.module fails to create a new account for anonymous users 'on payment completion'.
The patch works for me. Thanks jbjaaz! :)
Comment #9
capmex commentedSame issue while testing e-Commerce 5.x-3.3, fixed using this patch. PHP version 5.2
Comment #10
theorichel commentedI am on Drupal 5.11, PHP 5.1.4, ECommerce 3.5 and lo and behold, after six months struggling I found this patch. It is too late to give me any positive thoughts about e-commerce, but it works at last. Thank you Jbjaaz!
Comment #11
davea commentedcommitted and fixed in 5.x.3.x-dev
Comment #12
theorichel commentedI updated to 5.x-3.x of nov 17 and now it doesnt function anymore. No user accounts are created, no mails are sent to new users either.
Have reinstalled my 'own' working version of the user account module, but apparently the error is elsewhere, it still doesnt work. Of course I ran update.php
Comment #13
davea commentedClosing this issue- This is identical to http://drupal.org/node/233444
Thanks,
DaveA