| 开发者 | tiagoferreiradesign |
|---|---|
| 更新时间 | 2026年7月31日 23:35 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[wpse_pricing] — pricing table with a monthly/yearly toggle and manual feature lists.[wpse_account] — a pre-assembled account page.[wpse_plan_status], [wpse_usage type="post"], [wpse_portal_button], [wpse_checkout_button plan="basic" interval="month"][wpse_if_plan plan="pro,basic"]…[/wpse_if_plan] (add not="1" to invert)[wpse_can_create type="post"]…[/wpse_can_create] and its opposite [wpse_quota_reached type="post"]…[/wpse_quota_reached][wpse_quota_remaining type="post"] and [wpse_quota_message type="post"]wpse-hide-if-quota-full-{type} — hides the element once the quota is full.wpse-show-if-quota-full-{type} — shows the element only when the quota is full.wpse-plan-{slug}, wpse-status-{status}, wpse-can-create-{type} / wpse-quota-full-{type} on the body for custom CSS.
Developer API
Public functions (wpse_subscription(), wpse_has_plan(), wpse_quota(), wpse_can_create(), wpse_checkout_url()), actions (wpse_activated, wpse_status_changed, wpse_payment_completed, wpse_downgraded, wpse_quota_reached, wpse_quota_demoted) and filters let you extend everything from your own theme or plugin.
/wp-content/plugins/ and activate it.[wpse_pricing] to a page. Switch Settings to live mode when you are ready to charge real cards.Yes. Registration is the site's responsibility — any form that creates a user triggers the default free plan. Quota enforcement is server-side, so it protects you no matter how content is created. For builders, the plugin outputs plan and quota CSS classes on the body element, so you can show or hide any element without writing code.
No. The plugin talks to the Stripe API directly over the WordPress HTTP API, with a pinned API version and HMAC-verified webhooks. This avoids the fatal conflicts that embedded SDKs cause with other Stripe-using plugins.
Almost always a missed webhook — check that your Stripe webhook endpoint is subscribed to the five events listed on the Settings screen. To repair it immediately, go to SaaS Engine → Tools → Reconcile now: it checks every subscription against Stripe and fixes the drift with one click.
The subscription enters a grace period (configurable) during which access is kept while Stripe retries. If it is not recovered, a cron job downgrades the user to the plan's fallback.
No — the plugin blocks deleting a plan that still has active subscribers and points you to archiving it instead (unsellable, but current subscribers keep their conditions).
No. The plugin has no analytics, no telemetry and no "phone home" behaviour. It only contacts Stripe, as described in the "External services" section.