hi, i'm new with drupal, and i'm setting up a website with a membership (using ubercart), but i don't know in which way i can make it compulsory to pay for the membership before giving the account.

i already assigned a role to the product, but i don't know if i should change the user/register page or just put some conditional actions.

in both cases i'd like if someone could explain how to do that.

thanks

Comments

ceboudreaux’s picture

Stokks, start by reading some of the documentation on user management:
http://drupal.org/node/627158

In addition to creating roles for paying customers, you'll need to properly configure permissions for your roles so that paid customers see paid content and others don't.

There are several options for setting up conditional actions and automated processes via Rules, Actions, Triggers, and a variety of other modules, but roles and permissions need to be correctly set up first.

Can you give us some more information on exactly how you want this process to work? Do you have multiple products? Do paid accounts expire?

stokks’s picture

the process should be:

public home page with a link to private pages ( /user page, with drupal giving the classical newaccount/login/change password pages)

in the tab of new account, instead of the registration to the website -that doesn't ask for a fee-, the product (which as a role assignement to "membership" lasting 12 months - i already created the product, with payments, SKU, etc)

after the payment, the new customer should wait until the admin activates its account

if you want i can try to explain it better.