Linux 软件免费装
Banner图

Flexible Donations for Stripe

开发者 iamakram
更新时间 2026年8月7日 21:40
PHP版本: 6.0 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

payment gateway donations webhook donation form recurring donations

下载

3.3.0

详情介绍:

Flexible Donations for Stripe lets you accept donations directly through Stripe Checkout, the PCI-compliant hosted payment page. Donations go straight to your Stripe account - no transaction fees beyond Stripe's own. Key Features How it works The plugin renders a shortcode form. When a donor submits it, a Stripe Checkout Session is created and the donor is redirected to Stripe's hosted payment page. Stripe sends a webhook back to your site to confirm the payment, mark the donation completed, and send the thank-you email. This plugin is an interface to the Stripe payment service. By configuring it with your Stripe API keys you consent to sending donation data (donor email and amount) to Stripe for processing. Review Stripe's Terms of Service and Privacy Policy before use. Live vs Test mode Your live keys are stored separately and are never touched when you switch modes. A warning banner is shown in settings while test mode is active.

安装:

  1. Upload the flexible-donations-for-stripe folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Settings → Stripe Integration and enter your Stripe Secret Key, Publishable Key, and Webhook Secret (from Stripe Dashboard → Developers)
  4. Add the [fdfs_donation_form] shortcode to any page
Webhook setup
  1. In Stripe Dashboard, go to Developers → Webhooks and click Add endpoint
  2. Enter your webhook URL: https://yoursite.com/wp-json/fdfs/v1/webhook
  3. Subscribe to these events:
  4. checkout.session.completed
  5. invoice.payment_succeeded
  6. customer.subscription.deleted
  7. Copy the signing secret (whsec_...) and paste it in the plugin settings
  8. If using test mode, create a second webhook endpoint in Stripe's test mode and paste its secret in the test webhook field
Composer note The Stripe PHP SDK is bundled with the plugin, so no Composer installation is required.

屏幕截图:

  • Settings page with Stripe API configuration, sandbox test mode, donation and email settings

升级注意事项:

3.3.0 Upgrading from an earlier version? Settings, donation records, shortcode, and webhook endpoint are migrated automatically. After upgrading, update your Stripe Dashboard webhook URL to /wp-json/fdfs/v1/webhook. 3.1.0 New installs default to AJAX submission. If your host blocks admin-ajax.php for visitors, switch Submission Method to REST API in settings.

常见问题:

Is a Stripe account required?

Yes. The plugin works with any Stripe account. Free plan is sufficient for donations.

Are there any transaction fees?

The plugin itself is free. Payments go directly to your Stripe account and are subject only to Stripe's standard processing fees.

Can I use it without HTTPS?

Stripe Checkout works on HTTP, but a valid SSL certificate is strongly recommended and required for many Stripe features.

How do I change where donors return after payment?

Set the Donation Page Path in Settings → Stripe Integration. This is the path of the page containing the donation form (default: /support-us).

Which payment methods are supported?

Cards through Stripe Checkout. Stripe handles the full payment experience.

更新日志:

3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.0.0