=== Subscriptify Subscriptions Lite for WooCommerce ===
Contributors: solankisoftware
Tags: woocommerce, subscriptions, recurring, renewals, membership
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight subscription features for WooCommerce stores that need a free/lite recurring billing workflow.

== Description ==

Subscriptify Subscriptions Lite for WooCommerce adds practical subscription functionality for simple WooCommerce products without requiring a premium subscription extension.

This plugin is designed for free/lite use cases:

* Mark simple products as subscription products.
* Configure billing interval and period.
* Add optional trial days.
* Create subscription records automatically from checkout orders.
* Generate renewal orders.
* Let customers manage subscriptions from My Account.

Important: this plugin does not include gateway-level automatic recurring token charges. Renewals are handled as WooCommerce renewal orders (manual or standard gateway payment flow).

== Current Added Features ==

* Subscription toggle on simple products.
* Billing interval and billing period (`day`, `week`, `month`, `year`).
* Optional trial period in days.
* Optional max renewals (`0` = unlimited).
* Subscription details shown in cart/checkout item data.
* Subscription metadata saved to order line items.
* Automatic subscription creation after checkout.
* Renewal scheduling via WP-Cron.
* Renewal order generation linked to subscription.
* Payment-aware renewal flow (`pending` renewal order, `on-hold` while unpaid, next cycle scheduled after paid renewal).
* 1-day renewal reminder email.
* Fixed-cycle expiry support (`expired` status when max renewals reached).
* My Account `Subscriptions` endpoint.
* Customer actions: Cancel, Reactivate, Pause, Resume, Renew Now.
* Cycle progress display for limited subscriptions.
* Admin submenu: WooCommerce > Subscriptions Lite.
* Admin subscription list with user/product/status/next payment.
* Admin quick status actions: Activate, Pause, Cancel.
* WooCommerce dependency check and admin notice.

== Installation ==

1. Upload the `subscriptify-subscriptions-wc-lite` folder to `/wp-content/plugins/`.
2. Activate **Subscriptify Subscriptions Lite for WooCommerce** from the Plugins screen.
3. Ensure WooCommerce is active.
4. Go to **Settings > Permalinks** and click **Save Changes** once.
5. Edit a simple product, enable **Subscription product**, and configure subscription settings.

== Frequently Asked Questions ==

= Does this plugin support automatic recurring charges? =

Not by default. It creates renewal orders and relies on normal WooCommerce payment flow. Manual renewal payment works. Gateway-tokenized auto-charge is not included in this lite version.

= Which product types are supported? =

Simple products.

= How are renewals scheduled? =

Renewals are scheduled using WordPress cron (`WP-Cron`). Traffic and cron setup affect timing accuracy.

= Can customers pause and resume subscriptions? =

Yes. Customers can pause/resume from My Account.

= Can subscriptions end automatically after a set number of renewals? =

Yes. Use **Max renewals** on the product. When reached, status becomes `expired`.

== Screenshots ==

1. Product edit subscription fields (interval, period, trial, max renewals).
2. My Account subscriptions list and actions.
3. WooCommerce admin subscriptions list.

== Changelog ==

= 1.1.0 =

* Added max renewals support and cycle tracking.
* Added pause/resume and renew-now customer actions.
* Added payment-aware renewal scheduling (schedule next cycle only after paid renewal).
* Added renewal reminder email (1 day before renewal).
* Added expiry status for fixed-cycle subscriptions.
* Added admin quick status actions.
* Reliability and flow improvements for free/lite usage.

= 1.0.0 =

* Initial release.
* Subscription product toggle and billing fields.
* Trial days support.
* Subscription creation from checkout.
* Scheduled renewal order generation.
* My Account subscriptions endpoint with cancel/reactivate.
* Basic admin subscriptions list.

== Upgrade Notice ==

= 1.1.0 =

Improved renewal reliability with payment-aware scheduling, plus pause/resume, renew-now, and fixed-cycle expiry support.
