Hi, I'm having problem finding the right modules to install a payment system in the same page as the user registration (it should be a system where you pay 2 kind of things: or a single product, or an year ticket), can anyone help me with this? since i have to do it in Spain, i have the agreement with a bank to add this module http://drupal.org/project/uc_sermepa but i don't know which should be the next steps.

Comments

stokks’s picture

maybe i haven't explained it well: in which way can i make it obligatory to a user to pay for using the site? i want to put my ubercart catalogue in the user registration page (or the first page the new user HAS to view after the registration). Is it understandable this way?

Thanks in advance

zeezhao’s picture

Using ubercart, you can do this using roles feature on a product.
- set up a product "buy access to site" but attach it to a role that has access to view whatever information you want them to see.
- user buys the "product" as usual via ubercart. Once payment is made, user is granted role, and then access to relevant info is granted.
- ensure access to relavant info is not avalibale to anonymous user by setting appropriate permissions.

stokks’s picture

ok, but these rules should be set in ubercart options or user permissions? i don't understand how to do this part

attach it to a role that has access to view whatever information you want them to see

stokks’s picture

ok, but these rules should be set in ubercart options or user permissions? i don't understand how to do this part

attach it to a role that has access to view whatever information you want them to see

zeezhao’s picture

You need to create a role yourself first, and then grant it user permissions. Then attach the role to the "product".

What version off drupal/ubercart are you on?

Please send private message if any more issues.

stokks’s picture

i sent you a private message but i don't know how to see my inbox in this website, do you know where it is?

stokks’s picture

i tried to send you a private message, but i don't know neither if it was sent nor if you answered. so i'm asking you here if you can help me. i need to understand what you mean by

You need to create a role yourself first and then grant it user permissions

this means i have to be the administrator right?

Then attach the role to the "product".

how can i do this?

i have drupal 6 with ubercart 2 version on it.

zeezhao’s picture

- Yes, you need administrator rights
create a role yourself via: admin/user/roles e.g. paiduser

- set the necessary permissions for the new role (e.g. "paiduser") via: admin/user/permissions

- when you edit the "buy access to site" product, you can attach role to it via "features" tab
then pick "role assignment" and then press Add. The select appropriate options, before saving.

stokks’s picture

i guess that the "features" is now on "conditional actions", but:
how can attach the roles? i can't find this feature in that submenu
how can i make it possible that the product would show on the first page of the website? (like on the same page you can choose either entering the private part of the website or buy the product)