WP Manifestindependent plugin directory
manifest / updates / sw-onesite

OneSite — Domain License & Auto-Updater releasesself-updates

OneSite — Domain License & Auto-Updater. Single-domain WordPress plugin: embedded Razorpay checkout, server-side license + auto-updates from ShareWire.in.

by ShareWire.in · github.com/gireeshkottayam/sw-onesite · website

0stars
1release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/gireeshkottayam/sw-onesite/releases/download/v1.1.1/sw-onesite-1.1.1.zip

Ships its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.

Readme

OneSite — Domain License & Auto-Updater

A single-domain (one-site) WordPress plugin license with an embedded Razorpay checkout, automatic updates, and self-service domain transfer, powered by ShareWire.in.

Buy once · ₹999 · lifetime updates · one domain.

Product slug: sw-onesite — this plugin is sold and licensed through the ShareWire platform. License keys, payment confirmation and update delivery are handled server-side on sharewire.in. This repository is the public, GPL source for the plugin itself.


What it does for you

  • Embedded Razorpay checkout — pay ₹999 right inside the plugin's Settings → OneSite License page. Your site domain is captured and bound automatically the moment payment is confirmed.
  • Single-domain lock — a license is valid for one exact domain. The plugin re-validates periodically with ShareWire and stays unlocked only while it is active for that domain.
  • Automatic updates — OneSite hooks the native WordPress updater (pre_set_site_transient_update_plugins). New builds are fetched from ShareWire and only delivered to a licensed, activated, matching domain.
  • Domain transfer — at the ShareWire portal ("My Licenses") you can disconnect your current domain (freeing the slot) and then activate with the same key on a new domain.
  • Server-side proxy — every call goes through the WordPress HTTP API (wp_remote_post / wp_remote_get). No CORS, and the ShareWire Razorpay keys never reach the browser or this plugin.

Installation

  1. Upload sw-onesite/ to /wp-content/plugins/ (or install the .zip from your ShareWire portal), then Activate.
  2. Go to Settings → OneSite License.
  3. New buyer: click Pay with Razorpay — the current site domain is pre-filled; pay ₹999; your domain is bound automatically and the plugin activates itself on return.
  4. Have a key? Enter it and click Activate.

Layout

sw-onesite/
  sw-onesite.php               main plugin file (bootstrap + header)
  includes/
    class-onesite-api.php      ShareWire API proxy
    class-onesite-license.php  validity state machine + single-domain gate
    class-onesite-updater.php  native WP auto-update integration
    class-onesite-admin.php    license page + embedded Razorpay checkout + domain mgmt
  assets/
    js/checkout.js             on-demand Razorpay Checkout loader
    css/admin.css
  readme.txt                   WordPress.org-style readme

License

GPL-2.0-or-later. See LICENSE.

Note: The licensing core (key issuance, signature verification, threat scoring, update gating) lives server-side on sharewire.in and is never shipped into this repository or any product. This plugin is a thin, open client that talks to the platform over HTTPS.

Development

  • PHP 7.4+ / WordPress 5.8+.
  • Run a local PHP lint: php -l sw-onesite.php (and each includes/*.php).
  • Release flow: tag vX.Y.Z → build sw-onesite-X.Y.Z.zip → publish the release → upload the .zip to ShareWire's updates/sw-onesite/ so the updater can serve it to licensed domains.

Support

Via the ShareWire portal at https://sharewire.in (order history, licenses, "My Licenses" for domain management).

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.1.1 Sep 1, 2026 sw-onesite-1.1.1.zip 0
v1.1.0 Aug 30, 2026 sw-onesite-1.1.0.zip 0
v1.0.0 Aug 30, 2026 sw-onesite-1.0.0.zip 1