Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » anonymous purchase - removing the need for a password

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1481 Views
  • mschiefmaker
    Avatar
    Community Member
    187 Posts

    anonymous purchase - removing the need for a password Link to this post

    Hi

    I want to remove the password field from the e-commerce module but I not sure where they are being generated. Can anyone help? I am aware the user can type in anything but they cause confusion in the order process where I don't need it.

    Thnks

    MM

  • neonfrog
    Avatar
    Community Member
    10 Posts

    Re: anonymous purchase - removing the need for a password Link to this post

    Look in OrderForm.php, make username and password feilds hidden and set a random password. Do auto login. But you may want to disable the account page that lists users editable details. Check if user exists and get passowd if user exists.

    This is just a quick work around. May want to think about how to make it secure without user login.

  • mschiefmaker
    Avatar
    Community Member
    187 Posts

    Re: anonymous purchase - removing the need for a password Link to this post

    Thanks Neonfrog. That worked well. I had already removed the account access as I say, these are really anonymous sales of services.Tell me if I have missed something but if they don't need to log in to the account section there is no real need to collect passwords?

    Cheers

    MM

  • rbquirke
    Avatar
    Community Member
    70 Posts

    Re: anonymous purchase - removing the need for a password Link to this post

    Just one point here.

    You aren't actually doing an anonymous purchase - you are creating the a/c without the user having to put in a username and password.

    The danger here is that the same customer, coming back to purchase again will be unable to complete the process as their username (email) already exists, but they don't know this/don't have a password etc.

    I haven't tested this, but I am pretty sure that is how it works.

    Ronan

    1481 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.