Add donation field on membership signup?

5 replies [Last post]
bkbetts
Offline
Joined: 03/29/2010
Status: 
Answered

I see MS Membership Suite 6.1 has the ability to bundle other things into the order, such as tax and coupons. I think this used to be an issue in previous versions, as it was not possible to combine non-recurring items with recurring memberships. How easy would it be to add a donation field, where a user can enter a donation amount they feel is worthy, at the same time as they are signing up for their membership.

 

I would otherwise use lm_paypal with its donation module and separate the donation on a separate page, but my project requirements are that I collect donations on the same form that users use to sign up for their membership. The idea is that the user get all their paypal needs done in one shot, rather than prompting them later, which they may be less likely to contribute a donation.

Leighton Whiting
Offline
Joined: 06/02/2009
Bkbetts, Actually, due to

Bkbetts,
Actually, due to restrictions on how PayPal (as well as many other Payment Gateways) works, recurring and non-recurring products cannot be merged into one order. So there is no easy way to collect donations and sign a user up for a recurring payment in one go.

One thing that could be done through a custom module similar to the tax module is to allow users to add any amount they choose to an order (a donation) and then send them to PayPal. The only drawback (or feature, depending on how you look at it) is that for Recurring Payments, the donation would have to be added to each recurring payment.

What are your thoughts on that?

Sincerely,
Leighton Whiting

bkbetts
Offline
Joined: 03/29/2010
I was unaware of that

I was unaware of that restriction on Paypal and other gateways. That sure does limit things a bit.

 

However, your suggestion seems reasonable. Implementation would be, roughly speaking, clone the Tax module to Donation, and possibly add some simple form checks when creating/updating a membership plan.

 

Simplest checks:

If recurring is checked and a donation amount is filled in / enabled, then throw a form warning saying recurring cannot be combined with a donation.

 

Not so simple, and possibly undesirable checks:

Prompt the admin for confirmation when saving the membership plan that users will be additionally billed the donation amount every recurring period.

This would also require informing the user that they will be billed every recurring period the donation amount. This would be some rather noticable message shown while the user is filling out the form, before being forwarded to the payment gateway.

Leighton Whiting
Offline
Joined: 06/02/2009
bkbetts, Cloning the Coupons

bkbetts,
Cloning the Coupons module would be faster, since it implements a form on the Checkout page where users can enter a code for the coupon and have it applied to the order. Obviously things would need to be changed.

The only notification we would need to provide is a note underneath the donation box informing the user that if the membership is recurring, the donation amount will be added to each payment made.

Sincerely,
Leighton Whiting

Abilnet
Offline
Joined: 12/07/2009
Just some thinking... What if

Just some thinking...

What if the donation was "recurring" as well...I mean, if there's a recurring membership plan with certain conditions, there could also be some amount of donation that will be added to every recurring payment? ...both cancelled at the same time if the buyer so decide (OR could these get cancelled separately?)

Leighton Whiting
Offline
Joined: 06/02/2009
Abilnet, Yes, this is how it

Abilnet,
Yes, this is how it would work with recurring payments.

Sincerely,
Leighton Whiting

Twitter Feed