Charity Campaigns & Fundraising System

外掛說明

Charity Campaigns lets you create fundraising campaigns and accept donations securely via Stripe. It focuses on simplicity, privacy, and a great admin workflow.

Key features:

  • Custom post types for Campaigns and Donations
  • Stripe payment processing (Payment Intents, Stripe Elements)
  • Anonymous donations (name and email not stored if selected)
  • Shortcode-based donation form (no blocks required)
  • Campaign goals, progress, and completion handling
  • Admin dashboard: overview, activity, and reports

Shortcode:

  • [ccfs_donation_form] – Basic donation form
  • Supported attributes: campaign_id, campaign, amount, button_text, show_goal, show_progress, show_predefined_amounts, style (default|minimal|featured), class

External Services

This plugin uses the Stripe API to create and confirm Payment Intents and loads Stripe.js (Elements) from Stripe.com to securely collect payment details for donations.

Information required to interact with Stripe:

  • Publishable Key (pk_test_* or pk_live_*) – Initializes Stripe.js on the frontend.
  • Secret Key (sk_test_* or sk_live_*) – Creates and confirms Payment Intents from the server.
  • Amount & Currency – The donation total and currency for the Payment Intent.
  • Metadata (optional) – Campaign and donation identifiers to reconcile payments.
  • Donor Name & Email (optional) – Included only if the donor is not anonymous.

How it’s used:

  • The plugin creates a Payment Intent (amount, currency, optional metadata) and loads Stripe.js to securely collect card details.
  • The Payment Intent is confirmed; on success, the donation is recorded with the Stripe transaction ID.

This plugin does not store card numbers. For details, see:

Privacy

  • Anonymous donations: when donors choose the anonymous option, name and email are not stored.
  • For non-anonymous donations, donor name and email may be stored in donation records for receipts/reporting.
  • Payment card details are never sent to or stored on your server. Stripe Elements (hosted by Stripe) handles card data.

Credits

Charts are powered by Chart.js using MIT License.

螢幕擷圖

  • Donation form (Stripe Elements, goal and progress)
  • Campaign edit screen with goal and progress
  • Donations list and details in wp-admin
  • Dashboard overview with calendar and trends
  • Settings page with Stripe configuration and test mode status1. Dashboard Overview: Displays a campaign calendar with completion and donation summaries alongside quick performance and insights metrics.
  • Activity Page: Shows a chronological timeline of campaign events and donation activities with filters for search and date range.
  • Reports Page: Summarizes total donations, goal progress, and campaign statistics with recent donations and visual analytics charts.

安裝方式

  1. Upload the charity-campaigns folder to the /wp-content/plugins/ directory or install via Plugins Add New.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings Charity Campaigns and enter your Stripe API keys.
    • Use test keys (pk_test_…, sk_test_…) for testing.
    • Switch to live keys (pk_live_…, sk_live_…) for production.
  4. Create a Campaign under Campaigns Add New (set goal, details, featured image, etc.).
  5. Add the shortcode to a page or post, for example: [ccfs_donation_form campaign_id="123" amount="25"].

常見問題集

Does this plugin store credit card data?

No. Card data is handled by Stripe Elements and never save credit card data.

Can donors remain anonymous?

Yes. If the anonymous option is selected, the donor’s name and email are not stored; the donation is recorded as “Anonymous Donor”.

Does it support test mode?

Yes. Test mode is supported and clearly indicated. The plugin validates that your keys match the selected mode.

Is there a block (Gutenberg) for the donation form?

Not in this version. Use the shortcode [ccfs_donation_form].

What currencies are supported?

Currencies are based on your site settings and Stripe account. The plugin formats amounts according to settings.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Charity Campaigns & Fundraising System〉的開發相關工作。

參與者

變更記錄

1.0.0

Initial release.
– Shortcode-based donation form with Stripe payment flow
– Campaign and Donation CPTs with admin metaboxes
– Anonymous donation privacy controls
– Admin dashboard: overview, activity, and reports
– Test mode support and key validation
– WordPress security best practices (nonces, sanitization)