Auto-create assign new user password

Discussion in 'Customization & add-ons' started by clickleaders, Oct 25, 2012.

  1. clickleaders

    clickleaders Member

    Joined:
    May 10, 2009
    Messages:
    38
    We created a custom payment plugin with auto-create. We want to make one change: when a new user is created, we want to generate and assign it ourselves, rather than have the system do it. Is there any way to do this? (Using v4)
  2. clickleaders

    clickleaders Member

    Joined:
    May 10, 2009
    Messages:
    38
    Clarification...we want to generate the PASSWORD...the rest we can leave as is.
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    look at Am_Paysystem_Transaction_Incoming class, function autoCreateInvoice()
    you may copy/paste it to your transaction class and customize.
  4. clickleaders

    clickleaders Member

    Joined:
    May 10, 2009
    Messages:
    38
    Thank you, Alex, that was exactly what I needed. Don't know how I'd survive without you!

Share This Page