1.5 KiB
1.5 KiB
Donations Installation Guide
This guide installs the donations module in a reusable way for any HumHub instance.
1. Requirements
- HumHub
1.14+ - Module directory access on the target instance
- A configured payment provider setup (Stripe and/or PayPal) after installation
- Optional but recommended:
rescue_foundationmodule
2. Clone into HumHub Modules Directory
The folder name must be exactly donations.
git clone https://gitea.kelinreij.duckdns.org/humhub-modules/donations.git \
/var/www/localhost/htdocs/protected/modules/donations
If the folder already exists:
cd /var/www/localhost/htdocs/protected/modules/donations
git pull
3. Enable the Module
In HumHub UI:
- Go to
Administration->Modules. - Enable
Donations. - Enable it per space where donations should be active.
4. Run Migrations
From the HumHub app host/container:
php /var/www/localhost/htdocs/protected/yii migrate/up \
--include-module-migrations=1 --interactive=0
5. Post-Install Setup
- Open
Space->Settings->Donations. - Run module setup if prompted.
- Configure provider credentials and webhook values.
- Create at least one donation goal.
6. Verify
- Open
Space->Donations. - Submit a test donation intent.
- Confirm transaction records update as expected.
Docker Example
docker exec humhub php /var/www/localhost/htdocs/protected/yii migrate/up \
--include-module-migrations=1 --interactive=0