Replacing WooCommerce add-ons¶
Keystone can stand in for six WooCommerce add-ons, so a store runs on Keystone and WooCommerce core alone. WooCommerce stays the shop and takes the payment; Keystone holds the licences, memberships, subscriptions and credits.
| Add-on | What Keystone does instead |
|---|---|
| Software Add-On | Issues and manages licence keys; the old licence API still answers for existing plugin updaters. |
| WooCommerce Memberships | Membership plans, members and restriction rules. |
| WPSubscription (free and Pro) | Subscription records, renewal orders, pause, resume and cancel. |
| Points and Rewards, Account Funds | Credits (points, money). Not mapped automatically yet. |
| Customize My Account Page | The Keystone customer portal. |
Replace and Hide¶
Status: the checks, hiding and rollback are built into the plugin, but there is no admin screen for them yet; today an administrator runs them with WP-CLI. A screen is planned.
Each add-on has a readiness check:
- Green means that add-on's own check passed (below). Red gives the reason in words.
- Hide removes the add-on's menus and plugin row and stops it issuing keys or points a second time. The plugin stays installed.
- Deactivate needs the add-on's name typed to confirm. Keystone saves a rollback snapshot first, so the old plugin can be brought back in one step.
Check one add-on (slugs: software-addon, wc-memberships, wpsubscription, points-rewards, account-funds, customize-my-account):
What turns each light green:
| Add-on | Check |
|---|---|
| Software Add-On | Key recovery is set up (OG_KEYSTONE_ENC_KEY), the old licence API is covered, and no old key is left outside Keystone. |
| Memberships | Every plan and member is also in Keystone. |
| WPSubscription | Every subscription is in Keystone and at least one real renewal was charged and recorded through it. |
| Points and Rewards, Account Funds, Customize My Account | Always red until you decide how their data moves into Keystone. |
Renewals¶
Each renewal is a normal WooCommerce order for the right customer, one per billing period. Keystone charges it when the payment method allows (Stripe saved card); otherwise the order stays unpaid for the customer to pay by link, and the subscription becomes past due once the grace period has passed (24 hours; filter og_keystone_subscription_grace_hours). After four failed charges on one period, Keystone stops trying. A renewal never issues a second licence key.
Before you switch an add-on off¶
- Back up the site.
- Make sure the light is green.
- Switch off one add-on at a time and check your shop, My Account and a test purchase after each.