| 开发者 | tohidulislamtawhid |
|---|---|
| 更新时间 | 2026年10月12日 18:39 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[smfs_checkout service="your-service"] on any page. Customers pick an option, optionally a quantity, see a live price breakdown, and are sent to Stripe Checkout.{customer_name}, {plan}, {amount} or {failure_reason}, send yourself a test, and reset to the default at any time.variant="premium" – show only one option, or variant="basic,premium" for several.layout="dropdown" – show the options in a dropdown instead of cards.label="Buy now" – button text for this placement.breakdown="no" – hide the price line.class="my-class" – add CSS classes to the button.data-smfs-variant="option-id" (for example a button in a pricing table) selects that option when clicked.
For developers
wp-config.php instead of the database: SMFS_STRIPE_SECRET_KEY, SMFS_STRIPE_WEBHOOK_SECRET and SMFS_SMTP_PASSWORD.smfs_checkout_button_classes to add your theme's button classes to the checkout button.rankzaar-subscriptions-manager-for-stripe folder to /wp-content/plugins/, or install the plugin from the Plugins screen.Yes. The plugin works with your own Stripe account and uses Stripe's API and hosted checkout page.
Write access to Subscriptions, Checkout Sessions, Customers, Products, Prices, Coupons, Promotion codes, Invoices and Webhook endpoints, and read access to PaymentIntents and Payment Links. A standard secret key also works.
No. Customers pay on Stripe's hosted checkout page. Your site never sees card numbers.
Use test mode with your test keys and Stripe's test card 4242 4242 4242 4242, any future expiry date and any CVC.
Make sure a webhook signing secret is saved (Settings → Stripe connection shows the status). Without it, changes only appear after a sync. You can always click Sync from Stripe.
Yes. Go to Settings → Notifications and open any email. Edit the subject and message, click a placeholder to insert it, and use Save & send test to see the result. Reset to default restores the original text.
Deleting the plugin removes its settings, services, email templates, cached subscriptions, activity log and scheduled events from WordPress. Nothing is deleted in Stripe: your customers, subscriptions, prices, coupons and webhook endpoints stay there. Deactivating the plugin only stops the scheduled sync.
The checkout form includes a security token (nonce) that WordPress accepts for 12–24 hours. If your caching plugin keeps pages longer than that, exclude the pages that contain the [smfs_checkout] shortcode from the cache, or set the cache lifetime to 10 hours or less. Otherwise visitors may see “we could not start the checkout” until the page is refreshed in the cache.
Yes. Add the shortcode with a Shortcode block or your page builder's shortcode widget.