Linux 软件免费装
Banner图

Demfilz Payment Forms for Stripe

开发者 demfilz
更新时间 2026年8月13日 14:07
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

checkout donations payments stripe payment form

下载

1.0.0

详情介绍:

Demfilz Payment Forms for Stripe lets you collect payments anywhere on your site with a single shortcode. Visitors fill in a clean, modern form and are taken to Stripe's secure hosted checkout to enter their card details — no card data ever touches your server. The form collects these standard fields: Features This plugin is not affiliated with or endorsed by Stripe. "Stripe" is a trademark of Stripe, Inc., used here only to describe compatibility.

安装:

  1. Upload the demfilz-payment-forms-for-stripe folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload Plugin.
  2. Activate the plugin.
  3. Go to Stripe Payments → Settings and enter your Stripe Secret API Key (use a test key, sk_test_…, while testing).
  4. In your Stripe Dashboard, go to Developers → Webhooks → Add endpoint, paste the Webhook Endpoint URL shown on the settings page, subscribe to the checkout.session.completed event, then copy the endpoint's Signing secret into the Webhook Signing Secret field.
  5. Set a Notification Email and your Currency.
  6. Add the shortcode [dpfs_payment_form] to any page or post.

屏幕截图:

  • The payment form in dark theme.
  • The admin Payment Summary dashboard.
  • The admin Settings tab.

升级注意事项:

1.0.0 Initial release.

常见问题:

Which shortcode attributes are available?

  • title — heading shown above the form (default "Make a Payment")
  • description — optional sub-text under the title
  • button — button label (default from settings, e.g. "Pay Now")
  • amount — a fixed amount; when set, the amount field is locked
  • currency — three-letter code (default from settings, e.g. aud)
  • amount_label — accessible label for the amount field (default "Amount")
  • theme — light (default), dark, or auto (follow the visitor's system setting)
Example: [dpfs_payment_form title="Pay your invoice" amount="150" currency="aud"]

Do I need the Stripe PHP SDK?

No. The plugin talks to the Stripe API directly over HTTPS, so there is nothing extra to install.

Is the webhook required?

It is strongly recommended — it is how payments are confirmed reliably. As a fallback, the success page also confirms the payment when the visitor returns from Stripe.

Where is card data handled?

Entirely on Stripe's hosted checkout page. Your site never sees or stores card numbers.

Which currencies are supported?

Any currency your Stripe account supports. A selection of common currencies is available in the settings, and zero-decimal currencies (such as JPY) are handled correctly.

更新日志:

1.0.0