Abuja Digital Studio · Est. 2018
Start a Project
DocsOSubscribeInstallation
Getting Started

Installation

OSubscribeorravo.com/docs/osubscribe/installation

Installation

OSubscribe is a recurring-revenue engine for WooCommerce. Seven engines in one plugin: products, billing, dunning, self-service, retention, payment plans, analytics.

Requirements

  • WordPress 6.5+
  • PHP 8.1+
  • WooCommerce 8.0+ (HPOS compatible)
  • Orravo Core (declared via Requires Plugins: orravo-core)

Install steps

  1. Upload the osubscribe folder to /wp-content/plugins/.
  2. Activate OSubscribe in Plugins, Installed Plugins.
  3. Go to OSubscribe, Settings to configure currency, retry policy, self-service permissions, and gateway credentials.
  4. Mark a Woo product as a subscription via the OSubscribe meta box on the product editor.

What activation creates

OSub_Activator::activate() runs OSub_DB::activate(), which creates 12 tables:

  • wp_osub_subscriptions
  • wp_osub_subscription_items
  • wp_osub_charges
  • wp_osub_dunning_runs
  • wp_osub_schedule_changes
  • wp_osub_save_flows
  • wp_osub_save_flow_runs
  • wp_osub_payment_plans
  • wp_osub_metrics_daily
  • wp_osub_payment_tokens
  • wp_osub_magic_links
  • wp_osub_audit_log

It also schedules five recurring jobs:

  • osub/cron/charge_dispatch - every 5 minutes (custom osub_5min schedule)
  • osub/cron/dunning_tick - hourly
  • osub/cron/metrics_recompute - daily
  • osub/cron/reconcile - daily
  • osub/cron/expiring_cards - daily

HPOS

OSubscribe declares compatibility with custom_order_tables on before_woocommerce_init.

Installation · OSubscribe Docs | Orravo