Simplest "Donate" payment integration for charity

Soliciting your input for the SIMPLEST plug-in for a donate button for a charitable organization.

Looking at the plugins, many are geared toward shopping carts (understandable) but that is way more than what my client needs.

I haven’t done one of these in awhile, and understand there will be some backend work, including selecting a payment processor.

Not afraid to get my hands dirty in direct PHP at the backend if necessary. Just asking advice from those who know more than I do on this subject.

Many thanks.

Hi @ghedger42,

What about this plugin ? NiaPays plugin - October CMS

1 Like

Hey thanks, @apinard . Will check it out!

It was a good idea. It is asking for PHP 8. That means upgrading the server from Ubuntu 20.04 to something newer, and I have multiple websites running on it and don’t really want to pay for another server. Nor do I feel like containerizing everything. I’ll find another way, even if I have to roll my own. Thanks anyway, though. I do appreciate it.

@ghedger42

OctoberCMS v3 requires PHP 8.

I’m guessing you’re running a v2 (or maybe even v1) installation? If so, you could still try downloading the plugin to see if it works under v2. If it doesn’t, some adjustments might be needed.

Gee, that’s odd, because this is a fresh installation of OctoberCMS and the website runs perfectly on PHP 7.4.

It’s another wag-the-dog, I suppose, where I have to break everything for a few weeks just to accomodate one (albeit important) plug-in.

Thanks for the help. I just want to feed sandwiches to the homeless here.

Stripe:

PayPal:
https://www.paypal.com/donate/buttons

Since you need some kind of payment provider anyway, you can also utilize the provided methods / solutions for donations. Both very easy to set-up and all you need to do on your website is add the link. After setting up your account of course.

Regarding the version: composer automatically chooses a fitting version. Since you’re running PHP7.4 and OCMSv2 is the last version to support PHP < 8.0.2, your fresh OctoberCMS installation is of Version 2.

Yes, I think your suggestions are good vis-a-vis the Stripe and PayPal options – just integrate it manually.

It also makes sense that OctoberCMS’ install process would pick the version that fits with the hosting system.

I’m thinking of spinning up another server with Ubuntu 24.04 (or whatever is latest) with Apache, MySQL, PHP 8.x with a view toward decomissioning the Ubuntu 20.04 one. Really not a big fan of running web in containers, as they fix one set of problems but introduce their own. Since I control all the hosted sites, would like to have them all sing from the same songbook, so to speak.

Wonder how hard it is to migrate an existing, older (OctoberCMS 2.x) site content over. Will sniff around for info on that. Hopefully it isn’t copy and paste content page-by-page…

Hey @ghedger42,

Here is the upgrade guides:

1 Like

@apinard AWESOME! I didn’t see anything on a cursory search (but I’m multitasking) You saved me a ton of time, potentially.

@marco.grueter Marked your suggestion as the “solution” for my current setup (October CMS 2.x and PHP 7.4). No telling when we will get around to migrating to 8.0. When you are running a charity you have a shoestring budget to work with, and have to make the most of your time…

Many thanks to both of you.

1 Like