跳到内容

EasySecure Subscriptions

v1.2.0

imminentsoftwares · 2026年2月6日 上架

WooCommerce subscriptions with a built-in Stripe gateway: automatic renewals, failed-payment retries, upgrades and easy cancellation.

正在使用
10 以下
评分
暂无
累计下载
675
最近更新
2026年11月19日
需要 WordPress 6.0+已测试到 7.1.5PHP 8.0+

截图

EasySecure Stripe settings with test and live keys and the connection status
EasySecure Stripe settings with test and live keys and the connection status
Card form at checkout
Card form at checkout
Subscription settings in the product data box (interval, length, Plan Group, Plan Level)
Subscription settings in the product data box (interval, length, Plan Group, Plan Level)
Subscription status, next payment date and Cancel button for the customer in My Account
Subscription status, next payment date and Cancel button for the customer in My Account
Admin Subscriptions screen
Admin Subscriptions screen
Payment failed email with a Pay now link
Payment failed email with a Pay now link

EasySecure Subscriptions turns any WooCommerce product into a subscription. Set the billing interval on the product, connect your Stripe account with your test and live keys, and the plugin charges your customers automatically every cycle.

It is built to be safe with money. A renewal is only marked paid when Stripe confirms that the full amount was actually captured. Failed cards are retried and get a grace period before access is removed. Customers keep what they paid for when they cancel, and they can upgrade to a higher plan with a credit for the unused time.

No extra database tables, no external libraries, and no other subscription or Stripe plugin is required.

💳 Built-in Stripe gateway (new in 1.2.0)

  • Connect Stripe from the WordPress admin: WooCommerce Settings Payments EasySecure Stripe.
  • Separate fields for test keys and live keys (publishable key, secret key and optional webhook signing secret), and a single “Test mode” checkbox to switch between them.
  • Keys are checked with Stripe when you save. The settings page shows the current mode, the connected Stripe account and the webhook URL. Wrong keys (for example a test key in a live field) are rejected with a clear message.
  • Card form powered by Stripe Elements, so card numbers never touch your server.
  • Works on the block checkout, the classic checkout and the “Pay now” page.
  • 3D Secure (SCA) support at checkout.
  • Saved cards: for subscriptions the card is always saved for automatic renewals. For other products, customers can choose to save it.
  • Refunds directly from the WooCommerce order screen, full or partial.
  • Optional signed webhook that completes payments if a customer closes the browser during 3D Secure.
  • Test and live data are kept apart. Saved cards and Stripe customers belong to one mode and one Stripe account, so a test card is never charged in live mode.
  • At checkout the option shows as “Credit / debit card EasySecure Subscriptions“, with a test-mode hint while test mode is on.

Already using the WooCommerce Stripe Gateway plugin? Subscriptions bought with it keep renewing through it, so you can switch to the built-in gateway without breaking existing customers.

🔁 Renewals you can trust

  • Automatic renewals on a daily, weekly, monthly or yearly interval (for example every 3 months).
  • Optional subscription length: the subscription ends after a set number of periods.
  • Renewals are charged off-session with the customer’s saved card.
  • A renewal order is only marked paid when Stripe reports “succeeded” and the captured amount and currency match the order.
  • Each renewal attempt has its own idempotency key, and overlapping cron runs are locked, so a customer is never charged twice for one cycle.
  • Correct month handling: 31 January + 1 month = 28/29 February.

⚠️ Failed payments, retries and grace period

  • A declined renewal never moves the billing date forward.
  • The subscription becomes Past due. The customer keeps access for a 7-day grace period.
  • The card is retried automatically on day 1, 3 and 5.
  • The customer gets an email with a Pay now link to pay with another card. That card then becomes the one used for later renewals.
  • If the renewal is still unpaid when the grace period ends, the subscription is Suspended and access is removed. Paying the renewal reactivates it.
  • Cards that need 3D Secure during a renewal are not marked paid; the customer is asked to pay the renewal themselves.

⬆️ Plans, upgrades and one plan per customer

  • Give products a Plan Group and a Plan Level (for example Silver = 1, Gold = 2 in the group “membership”).
  • One plan per group per customer. Buying the same plan twice, or a lower plan of the same group, is blocked. Subscription checkout requires an account, so this cannot be bypassed with guest checkout.
  • Upgrades with proration: customers get an “Upgrade to Gold” button in My Account. At checkout the unused part of the current period is credited (shown as “Credit for unused time on Silver”). Once the upgrade is paid, the old plan stops billing and is marked Switched.
  • Downgrades: the customer cancels the higher plan, keeps it until the end of the paid period, and then buys the lower plan.

✋ Cancellation that respects the paid period

  • Customers cancel from My Account. Nothing is charged again, but access continues until the end of the period already paid (Pending cancel).
  • Until then the customer can Resume the subscription with one click.
  • Shop managers can choose Cancel at period end or Cancel now on the Subscriptions screen.

🔒 Restricting content to subscribers

  • Shortcode: [easysecure_restricted products="12,34"]Members only content[/easysecure_restricted]
  • PHP: easysecure_user_has_access( $user_id, $product_ids )
  • Access counts as active while the subscription is Active, Past due (grace period) or Pending cancel.

📧 Email notifications

  • Subscription activated
  • Renewal reminder, about one day before the next charge
  • Renewal payment failed, with a Pay now link
  • Subscription suspended
  • Cancellation confirmed, showing the date access ends
  • Subscription ended or expired

🛠 Admin

  • Subscriptions screen with status, next payment date, next retry and grace period end for every subscription.
  • Paginated list with cancel, resume and cancel-now actions.
  • Subscription statuses: Active, Past due, Pending cancel, Suspended, Cancelled, Expired, Switched.
  • Compatible with WooCommerce High-Performance Order Storage (HPOS).
  • Subscription products are locked to quantity 1.

External services

This plugin connects to Stripe to take card payments, process renewals and issue refunds. Stripe is operated by Stripe, Inc. Nothing is sent to Stripe until you enter your Stripe API keys and enable the EasySecure Stripe payment method.

Stripe API (api.stripe.com)

Used to verify your API keys, create Stripe customers, create and check payment intents, and create refunds.

Data sent: the order amount and currency, the order ID and order key, your site address, the customer’s WordPress user ID, name and email address, the Stripe customer ID and the saved payment method ID. Refund requests also send the refund amount and reason.

When: when you save the API keys, when a customer pays at checkout or on the “Pay now” page, when a customer returns from 3D Secure, when a renewal is charged, and when you refund an order.

Stripe.js (js.stripe.com)

Loaded on the checkout and “Pay now” pages to show the secure card field (Stripe Elements).

Data sent: the card details and the customer’s billing name, email, phone number and address are sent directly from the customer’s browser to Stripe. Card details never reach your server.

When: whenever a customer opens the checkout or “Pay now” page while EasySecure Stripe is enabled.

Stripe webhooks (optional)

If you add a webhook in your Stripe dashboard, Stripe sends payment status events to your site at /wc-api/easysecure_stripe_webhook/. The plugin does not send any data in this step.

Stripe Terms of Service: https://stripe.com/legal
Stripe Privacy Policy: https://stripe.com/privacy

Developers

Actions:

  • easysecure_subscription_activated, easysecure_subscription_reactivated
  • easysecure_subscription_renewed, easysecure_renewal_payment_failed
  • easysecure_subscription_past_due, easysecure_subscription_suspended
  • easysecure_subscription_cancellation_scheduled, easysecure_subscription_cancelled, easysecure_subscription_expired
  • easysecure_subscription_switched
  • easysecure_subscription_access_granted, easysecure_subscription_access_revoked
  • easysecure_subscription_status_updated

Filters:

  • easysecure_grace_period_days (default 7)
  • easysecure_renewal_retry_days (default array( 1, 2, 2 ), days after the previous attempt)
  • easysecure_process_renewal_payment: charge renewals for another gateway. Return status success only after the gateway confirmed the full amount.

Functions:

  • easysecure_user_has_access( $user_id, $product_ids = array() )
  • easysecure_get_user_subscriptions( $user_id, $statuses = null )

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums