My site has a lot of free content for anonymous users, but in order to sign up for an account and access premium services, I want users to have to make a credit card payment first.

I know there are several payment modules, but I was wondering if any of them support payment during, and as a condition of, account creation.

Thanks,

Nick

Comments

SomeGirl’s picture

Yea.... my exact problem... I was wondering this too...

vm’s picture

A better way to handle this is to allow registration for free, but have a role that users graduate to after paid membership. This allows you more flexibiliy and collects data along the way that may be useful for marketing purposes.

investigate ecommerce and lm_paypal

Anonymous’s picture

There are times when you want to require users to pay BEFORE an account is even created. Most other modules create the account in a disabled state before they pay, which oftentimes causes problems if they change their mind and cancel the payment, leaving a derelict user account. I created a paid module which gathers the needed user information before taking them to a payment page, but waits to create the account until AFTER they have successfully paid. It is called Paypal Subscriptions, and I am about to release a newer version in a couple of days. Just thought I would let you know. Link: http://www.moneyscripts.net/drupal-paypal-subscriptions

Disclaimer: This IS a premium module which costs money to purchase, and I am the creator of it.

vm’s picture

Interesting, I may just purchase the module and throw it in the drupal repo for all access to it by the entire drupal community. As I understand it (if correctly), if a module uses drupal hooks, then that module is now GPL'd becuse drupal is GPL'd and I can do what I want with it.

mattyoung’s picture

>I may just purchase the module and throw it in the drupal repo

That's just too cruel. Why not let the guy try to make a few bucks with his work? Ideally I would like him to contribute but we shouldn't be against selling Drupalware.

Anonymous’s picture

@VeryMisunderstood
You are correct, any drupal module must be GPL, and you could do that. However, this module acts as a bridge to my proprietary software (which runs without drupal and is not affiliated with drupal, is licensed by me and NOT GPL) so you can't just distribute that software legally. I have a lawyer friend who looked into this for me and he says it is all compatible with the GPL if I do it that way. I am hoping to release a LITE version for free to the community in the coming weeks, however. The module is also set up to be as extendable as possible, allowing other modules to use the paypal api as easily as paypal_api_start_payment($type, $payment, $vars) and hook_process_ipn($type, $ipn, $vars). I work hard at updating it, and am really not making a dime considering the amount of work I put into it.

criznach’s picture

Where is the standalone version available for purchase? I'd like to check it out. I'd like to look at the GPL'd module to check out the API.

hsoulard’s picture

Hi,

I'm new to Drupal and I plan to use the Open Atrium distribution for a "private" community platform. Anyone who wnats to creta an account on the site will have to paiy a small amount. I thus ahve the same problem you had several years ago. Did you find a solution? Thanks.

Hervé.

darksnow’s picture

I've done this using https://www.drupal.org/project/commerce_license and using a Role license you can purchase a user role.

On my subscription site this role allows access to all the premium content and license can be used to expire the paid role while maintaining the user account so they can renew.

Look into that and something like Card On File for recurring payments.

With some setup in Rules you can get the site to create user accounts during the checkout process.