selling Content to Users
Hiya M8s,
i've got a question about a particulary Problem. Well, iam working on a Project (private Business Page) where i want to sell Content to Users.
User X should visit my Site, and select from a Plan. For example he decided to go for an 30Days Membership. After he'd chosed and fill out the Checkout Forms, he should be redirected to PayPal to complete the Payment.
When this is done, he should be redirected to my page again with an Message, that his Account activated and active for 30Days. The User Account should be automaticly expire after the period of 30Days.
This particular User should be able to create an accout on the checkout, if the payment is completed, drupal should free the "30Day Membership", if not the Account should not be created. <- This is the main Problem
Could someone help me?
regard from Germany
Dan
Comments
Privileges, not user creation
IMO, you should not be worrying about whether the new user has been created, but instead what privileges (roles) that user has been granted. A user without any privileges is no user at all. So (IMO) just let the user creation process happen as it does, but on order completion grant the role to the user.
Hiya M8y, thanks for your
Hiya M8y,
thanks for your quick reply. But it doesnt answered my question it raised only more questions :)
As i said before, its a necessary requirement, that each user, has its individual account.
Each account must be expire after (for example) 30Days Membership. And thats i dont know how to realize.
I'd watched both videos about selling content, but it only shows, how one particular user, can access
one paricular node. It was helpful and not, you know?!
Could you hint me into the right direction? Hope its doable with Commerce...
regards from Germany
Dan
The basic screencast on
The [basic screencast on selling roles](http://www.commerceguys.com/resources/articles/255) demonstrates how to give a role to a user. You need now to think about how to remove roles from a user (not delete the account) after 30 days. You'll want to use something like rules_scheduler (part of rules module now I believe) to do this.