latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Paypal Donate

Home Forums Community Forum Paypal Donate

This topic contains 1 reply, has 2 voices. Last updated by  CK MacLeod 3 years, 2 months ago.

Topic Author Topic
Posted: Saturday Oct 12th, 2013 at 5:21 pm #60321

I want to create a donate button where the end user chooses their own amount by punching it in a blank filed. Or PP puts it “Donors enter their own contribution amount.” My registration is free using BuddyPress.

After reviewing everything about a simple donate button, it appears to be much easier to go to pay and create this button after a widdle brain damage from many attempt in various ways. (Wishing a donate button from a donate list could be applicable in the PP Pro Forms) DKN why this was never done?.?.

Ive tried the plugin code here, and doesn’t work @ http://web.archive.org/web/20120929001936/http://eduantech.com/code-snippets/donation-button-that-gives-access

I’ve tried here and cant seem to work either. But I actually get the $5.00 to appear with no button.
http://www.primothemes.com/forums/viewtopic.php?f=4&t=16566&p=59040#p59040

Since its much easier to use the PP buttons directly @ PP, in the Donation ID, do I need to add what? just the word donate, or 1 for level one? i know I read this somewhere, but too many links and I guess I’m brain dead. Way too much info for a simple donate button.

Thank you kindly for your support and LOVE using this plugin.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Tuesday Oct 15th, 2013 at 3:40 pm #60381
CK MacLeod
Username: CKMacLeod

Gaperville, this is a question that I researched extensively when setting up my site. I wrote about it here, but probably went in to more detail on my considerations than was useful. Anyway, I never got any responses on the thread.

At our site, users are asked to donate when they first sign up, and will be asked to donate again once a year. They can also register at any of four membership levels – which for us has more to do with identifying themselves than with different levels of access to the site. In other words, we recommend different donation levels, but they are free to register on-line for $.01 if they want to. They can also donate without registering, and they can also register without donating, but have to use a different, more cumbersome method (by e-mail, snail mail, possibly telephone): We do want to encourage them both to donate and to register during the course of a single visit, in a completely automated process.

You can see how it works here: Yoga Instructor Registry Registration. You can go ahead and click on any of the buttons to be taken to the custom Paypal Screen without committing to anything, just to see how it works. When the donor fills in the amount, and pays, he or she is taken back to the site to complete registration via the S2Member routine. So far it works smoothly, and without the Paypal IPN being enabled (it was generating fail errors, a common problem, for reasons I never did figure out – someday I may have to).

The other way to go is to generate a Paypal button either at S2Member or at Paypal (or both!), then hack it so that the customer fills in the dollar-amount before going to Paypal. This is relatively easy to achieve, and you can look at WordPress plug-ins like Custom Post Donations to see one example of how it’s done. The advantage would be, presumably, that you would be able to utilize S2Member and Paypal features that handle different types of subscriptions, site access, dripped content, end-of-term e-mails, and so on, but there seemed to me to be numerous potential complications that would have to be sorted out – for instance, would the customer or donor be able to set the amount again when it came time to renew, or stuck with the initial donation amount, and so on.

For the last and other reasons, I decided insteadto use the method I linked, based on simple Paypal Donate buttons, generated at Paypal, following the basic instructions from S2Member for adding redirects to the site and completing registration. At Paypal, when you create the Button, you have an option to provide a “Donation ID” as well. That’s where you can put the User Level (0,1,2,3,4). It works on Donate Buttons the same as the IDs work on “commercial” buttons. Everything else about the new membership – term of subscription, renewals, specific capacities, upgrades, and so on – I’ll have to handle myself. When you Edit the Button, under “Step 3: Customize advanced features (optional),” at the bottom there’s a box where you can add the S2Member return codes: custom=(your site url without http); notify_url=(site url)/?s2member_paypal_notify=1; rm=2 If you have a custom page style, it also goes here: page_style=(Paypal custom style name).

I do not know whether the additional variables you can set for commercial buttons (term, renewal, access restrictions) would work for the Donate Buttons, but I strongly doubt it, since Paypal doesn’t enable them for Donations either, and since S2Member doesn’t generate donate buttons. I asked on the prior thread I linked, and, as I said, never got a response. It would be great if S2Member expanded its own capacities in a way more suitable to non-profit/charitable uses, utilizing Donate buttons, but I have no reason to believe that that’s currently in the cards.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.