My hackerspace community needs self-hosted donations services. It should show how much money is donated and anyone can make a account for recurrent donating.
If it involves debit/credit card transactions then you start rinning into the PCI-DSS regulations, so unless you’re willing to take payments in crypto doing it yourself gets problematic. Even cryto would be nearly impossible since by its nature those are a more push trasaction where a recurring transfer would generally be a pull from the payee to the paypor.
That’s not to say it’s impossible, after all e-commerce is a thing, but any kind of stored payment transaction puts you in a whole new world of liability and makes you much more of a direct target for thieves than just a passive ‘send money here’ style donation page would.
A payment gateway is not really something you can self-host, but there is https://git.sr.ht/~sircmpwn/fosspay
Otherwise look into Liberapay and Opencollective for donation collecting services.
Thank you, we can’t use Stripe. So we are going to code it.
Fosspay is a bit abandoned. Maybe you could look into forking it and adding non-stripe options?
As an addition to the comment by @ShellMonkey@lemmy.socdojo.com, here are two services commonly used by open source projects.
Liberapay works well, I donate to a few projects using it
Another vote for liberapay! It gives you options to show how much is being donated and gives the user options to be anonymous still.