
![The <code>[wpse_pricing]</code> shortcode renders your plans with a monthly/yearly toggle, the manual feature list, and a checkout button per plan.](https://ps.w.org/prototypux-saas-engine/assets/screenshot-1.jpg?rev=3630175)
The <code>[wpse_pricing]</code> shortcode renders your plans with a monthly/yearly toggle, the manual feature list, and a checkout button per plan.
Prototypux SaaS Engine is a lightweight bridge between billing and permissions. It translates the state of a Stripe subscription into WordPress entitlements — a managed role, publishing quotas, and plan-based access — so you can monetize any WordPress site without gluing together form plugins, Stripe feeds and fragile role-switching code.
It is not a traditional membership plugin. Stripe does what Stripe does best (hosted Checkout, dunning, the Customer Portal, receipts, promotion codes, tax); the plugin owns your plans, subscription state, roles and quotas.
[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"]For every content type a plan limits, the plugin exposes ready-made classes you can drop onto any element in your page builder:
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.Plus wpse-plan-{slug}, wpse-status-{status}, wpse-can-create-{type} / wpse-quota-full-{type} on the body for custom CSS.
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.
This plugin connects to the Stripe API (https://api.stripe.com) to create and manage subscriptions. Stripe is the payment processor; without it the plugin cannot sell or manage paid plans. No other external service is contacted, and the plugin loads no scripts, styles or fonts from third-party servers.
Data is sent to Stripe only in these situations:
Stripe also sends data to your site through the webhook endpoint (/wp-json/wpse/v1/webhook): subscription and invoice events, whose signature is verified before being processed. Received events are stored in a database table for auditing and are deleted automatically after a configurable retention period (90 days by default).
The service is provided by Stripe, Inc.:
You need your own Stripe account and API keys, and you are responsible for informing your users, in your own privacy policy, that payment data is processed by Stripe.