Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have a non-profit website with only one product, a donation. The donation needs several different options for amount and an option for arbitrary amounts. It needs to integrate with paypal which should handle the credit card information. I would like to use Webform Pay module but it doesn't have a stable Drupal 7 version. Is there a Commerce contrib module that handles this?

share|improve this question

3 Answers 3

Commerce guys created a nice screencast to show you how to do this in commerce. You can view it at http://commerceguys.com/blog/using-custom-line-items-provide-donation-feature-drupal-commerce

I have used this on pretty much every charity site I have done and it works well.

Here is a summary of the steps:

  1. Install Commerce Custom Line Items and Select or Other modules (along with Commerce, of course)

  2. Create a custom line item type using Commerce Custom Line Items or another module that provides line item types.

  3. Add a regular integer field to the line item type.

  4. Choose one of the "Select or other" widgets for the line item type.

  5. Create a content type with a product reference field.

  6. In the display settings for the product reference field's add-to-cart, choose the custom line item as the line item to use.

  7. Create a product.

  8. Create a piece of content of the type we created and add the product to it.

  9. Create a product pricing rule:

Condition: entity has field: field_donation_amount

Action: Calculate field_donation_amount * 100

Action: Line item: Set the unit price to value: calculated amount

share|improve this answer

Try this sandbox: http://drupal.org/sandbox/tmsimont/1891418

I could use a maintainer, but I'm using this on a production website right now. It's a little tricky to set up at the moment, but if it generates interest I might get more involved.

share|improve this answer

I would recommend getting them to sign up to Adyen payment processor, which enables worldwide cash deposits and other payment methods (Credit cards and paypal too) and has no monthly or setup fees. Greenpeace use them.

Then use this: http://drupal.org/project/commerce_adyen

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.