I know this sounds a bit nooby but how do I make it so users can actually donate?
I can see the Pay Pall Donations page where you can see a list of users that have donated, but I cant see anywhere that they can actually Donate. I cant see anything in the blocks or the permissions

Comments

LeeMcL’s picture

Assigned: Unassigned » LeeMcL

When I designed this module I wondered about providing a "Donations" page similar to the "Subscriptions" page. But it just didn't seem sensible as every donation button I've created in the past has been embedded in the middle of a page that encourages the donation. So I settled on providing an interface that create buttons anywhere on a page using a little bit of PHP.

There are examples available to admin's in help/lm_paypal_donations. Here is a little bit lifted from that help page:

<?php
if (function_exists('lm_paypal_donate')) {
  // 10 = amount, 'USD' is the currency followed by a description
  print 'We would really like a $10 donation ' .
    lm_paypal_donate(10, 'USD', 'donation to example.com') ;
}
?>

However I'm beginning to wonder if I should providing an alternative similar in style to the subscriptioins interface?

Lee

Magnity’s picture

How about having a default donation page similar to the default thank you page? (Generic text and a default button).

That way, the module will do the job "out of the box", plus more experienced/advanced users can configure the module by inputting the function into a page as we do now.

lyricnz’s picture

This would be reasonably simple. Configuration required:

- preamble text + input format

- button graphic (or default)

- donation amount + currency (or selectable from list, or user-edited amount, or...)

- configure multiple donation pages?