| 开发者 | joedavtian |
|---|---|
| 更新时间 | 2026年10月31日 16:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
pspgd_manage_donations capability: every administrator has it, and a role editor can give it to staff who should see donations but not change the bank or the settings.[pspgd_donation_form] on a page, or create a campaign under Donations > Campaigns.Only in test mode. Every real payment goes through PSPG.
Banks on the ArCa network in PSPG. Ameriabank, Inecobank and AMIO take one-time donations; their saved-card payments have not been proven with this plugin, so recurring is off for them unless you switch it on with the pspgd_bank_supports_recurring filter to test on staging. Idram and Telcell cannot save cards.
Yes, if you tick more than one. Each donation is charged in the donor's chosen currency, so your bank must accept all of them.
Their recurring donation ends with the campaign: no further payments are taken, the bank is asked to release the saved card, and they are emailed. A gift to a campaign is earmarked, so it is not moved to general funds without asking. Use the pspgd_campaign_closed action if you want to invite them to give to the organisation instead.
In PlanetStudio Payment Gateway > Orders. After a full refund or a void the donation is marked refunded here automatically and leaves the totals. A partial refund is logged against the donation, which stays paid at its original amount.
Donations > Form Settings > Appearance. The defaults are a neutral blue.
It is recommended for recurring donations. WordPress only runs scheduled jobs when someone visits the site, so on a quiet site charges, follow-up runs and the 15-minute payment re-checks can start late. Set define( 'DISABLE_WP_CRON', true ); in wp-config.php and have the server request https://your-site/wp-cron.php every few minutes, or ask your host to do it.
Yes, activated on one site or for the whole network. Each site has its own donations, settings, bank and scheduled jobs, and its own choice in Form Settings about whether its donation data is deleted with the plugin. PlanetStudio Payment Gateway has to be active on the same sites.
joedavtian-donations-for-planetstudio-payment-gateway, for the WordPress.org directory. Coming from an earlier zip, which used the folder donations-for-planetstudio-payment-gateway: install this one, deactivate and delete the old one (leave Delete all donation data when the plugin is deleted unticked), then activate this one. Settings and donations carry over.pspgd_exchange_rate_max_change filter.PSPGD_Admin::CAPABILITY constant is now PSPGD_Capability::MANAGE_DONATIONS. The capability itself, pspgd_manage_donations, is unchanged.