Hi,
Using the ubercart with the ECO module, I have ticked the box...
"Disable Drupal account creation for anonymous users / new customers"
under admin > store > configuration > checkout settings > checkout panes > customer info settings.
But when I go to admin > user management > users - I am still getting new accounts created.
I am also getting two emails sent and stock decremented twice when a customer buys a product (once when pay-pal finishes payment and once when I click 'back to the store'. (There are a lot of issues posted for this - but I couldn't figure out if it had been fixed or not).
If I uncheck the above tick box, the duplicate emails/duplicate stock decrementing issue goes away.
Has anyone seen this problem before / any suggestions where to investigate.
I have not altered any setting under: /admin/store/ca
I am not getting any errors reported.
Thanks,
Comments
Comment #1
petu commentedI have the same problem on beta-2 and dev versions.
Any solutions?
Comment #2
tjpatterson commentedWe're experiencing the exact same issue with a site of ours.
I'm guessing the issue is with code in uc_eco_main.module after line 647.
It's as if it's processing the order twice?
I read through the previous 'decrementing stock twice' bug threads too. They were caused by issues related to how the paypal module was handling the 'checkout complete'. It may be a similar issue with the status of the order not being handled correctly?
I've noticed it tries to change the order status to post_checkout. I think that order status has been removed.
Comment #3
tjpatterson commentedComment #4
petu commentedI removed ECO module. I added custom PHP code for Condition actions to remove created user :).
Trigger: Customer completes checkout
Actions: PHP-code
user_delete(NULL, $order->uid);It works fine.
Comment #5
tjpatterson commentedOh great idea. Thanks!
Comment #6
DaPooch commentedMade this change around line 690 of dev version in uc_eco_main.module make sure you clear your cache after update and every time after you toggle the " Disable Drupal account creation for anonymous users / new customers." option. Seems to work right for me now.