=== Thrifting ===
Contributors: thriftingltd
Tags: live auction, bidding, mission control, embed, streaming
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.3.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Live shopping auctions on your site and social media. Embed the live bidding console. No per-sale commission from Thrifting. Freemium - 30 items/month

== Description ==

**Run your own live auction shows** while you stream on TikTok Live, Instagram, Facebook, YouTube, or anywhere else. **Thrifting** connects your WordPress site to **Thrifting Mission Control** — the control room for live lots, bidder overlays, timers, and checkout. **Thrifting does not take a commission on your sales**; you keep your revenue aside from **Stripe’s normal card processing fees** (and any **Thrifting subscription** plan you choose—includes a free tier).

This plugin **signs you up**, **stores your Mission Control and bid page URLs**, and **embeds the live bidding console** on any page (block or shortcode). It does **not** create WooCommerce orders or sync your product catalogue; winning bidders pay through **Stripe (Connect)** inside Mission Control.

**Inside Mission Control** (separate from this plugin)

* **Giveaway wheel** — optional on-stream giveaway / prize spinner you control from Mission Control.
* **Trivia** — optional trivia rounds to engage viewers during your show.
* **Stripe (Connect)** — **required** before you run **paid** live auctions: you must connect and complete Stripe onboarding in Mission Control so bidders can pay and you can receive payouts.
* **Shipping** — **you** set your own rates, regions, and rules based on **your** carriers and local pricing; Thrifting does not choose shipping costs for you.

**Why streamers use it**

* **Own the experience** — bidders stay on *your* WordPress page while you host the show elsewhere.
* **Built for live video** — same workflow as running a live sale: go live, run lots, see bids in real time in Mission Control.
* **Straightforward economics** — no platform cut on each sale from Thrifting; only Stripe processing fees apply to card payments.

**In WordPress**

* **Thrifting** in the admin sidebar (and **WooCommerce → Thrifting** if WooCommerce is installed): optional **Create free account**, set **Mission Control URL**, save **Bid page URL** for embeds (often filled automatically after signup).
* **Block:** “Thrifting – Bidding console” in the block editor.
* **Shortcode:** `[thrifting]` (alias of `[thriftingtv_bid]`) or `[thrifting url="..." height="80vh" fullscreen="1"]` for the classic editor or theme templates.

Requires **WordPress 6.3+** (block uses Block API v3).

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the zip from Plugins → Add New → Upload.
2. Activate **Thrifting** through the **Plugins** menu.
3. Open **Thrifting** in the left admin menu. Use **Create free account** (or paste your Mission Control URL from your welcome email), confirm **Bid page URL** is set, then add the block or shortcode to a page (e.g. `/live`).
4. In **Mission Control** (open your Mission Control URL in the browser): before your **first paid** live auction, complete **Stripe (Connect)** onboarding and set **shipping** rates and rules that match your carriers and regions.

== Frequently Asked Questions ==

= Does this plugin sync WooCommerce orders? =

No. Orders and payments are handled in Mission Control with Stripe (Connect). This plugin helps you **sign up**, **configure**, and **embed** the bidding experience on your WordPress site.

= Where do I get the Bid page URL? =

In Mission Control, click the green glowing **Bidder link** at the top of the page and copy it. Paste it under **Thrifting** (sidebar) → Bid page URL.

= Where is Mission Control hosted? =

Mission Control is hosted separately from this plugin. Paste the URL you received in your welcome email into **Thrifting** in the admin sidebar.

= Does Thrifting take a commission on each sale? =

**No.** Thrifting does not charge a per-sale commission. You receive payouts through **Stripe (Connect)**; **Stripe’s standard processing fees** apply to card payments. Thrifting may offer **paid subscription plans** for higher limits—the **free tier** includes 30 items per month in Mission Control.

= Do I need Stripe connected before running paid auctions? =

**Yes.** In **Mission Control** you must complete **Stripe (Connect)** setup before you can take payment for live auctions. This plugin does not replace that step—it only helps you reach Mission Control and embed the bid page.

= Who sets shipping rates? =

**You do.** Configure shipping in **Mission Control** using rates that match **your** carriers, countries, and business rules. Thrifting does not supply or enforce carrier pricing for you.

= What are the giveaway wheel and trivia? =

They are **optional engagement features in Mission Control** (not in this WordPress plugin): a **giveaway wheel** for promos or prizes, and **trivia** you can run alongside your stream. Use them if they fit your show.

= Is Thrifting responsible if I misconfigure something or if there is a glitch? =

**You are responsible** for following setup guidance: connecting **Stripe**, setting **shipping** accurately, and running your sales in line with applicable law and platform rules. Software and networks can fail; **Thrifting is not liable** for losses caused by user misconfiguration, third-party services (e.g. Stripe, hosts, CDNs), or bugs or outages **except where required by law**. If something breaks, use **Mission Control** / Thrifting support channels—we want you back on air quickly.

== Other Notes ==

This readme describes both this **WordPress plugin** and the separate **Mission Control** service. Feature availability in Mission Control may change; always check your live Mission Control UI and [Thrifting](https://thriftingtv.com/) for the latest.

== External services ==

This plugin connects to external services provided by **Thrifting LTD** so the plugin can create and configure your Mission Control account.

* **Service:** Thrifting Mission Control (hosted at `https://thriftingtv.com`)
* **What it is used for:** Creating a free Mission Control account from WordPress and returning your assigned Mission Control URL / bid page URL.
* **What data is sent and when:** When you click **Create free account** in the plugin settings, the plugin sends the email address you enter to `https://thriftingtv.com/api/free-signup`.
* **Terms of service:** https://thrifting.co.uk/terms/
* **Privacy policy:** https://thrifting.co.uk/privacy-policy/

== Privacy ==

When you use **Create free account**, the plugin sends the email address you enter to Thrifting’s main service (`https://thriftingtv.com/api/free-signup`) so an account can be created. No other personal data is sent by this plugin unless you use that form.

Embedded bidding pages are loaded in an iframe from the URL you provide (your Mission Control bid page).

Admin styling on the Thrifting settings screen uses **bundled** font files (Inter and JetBrains Mono, SIL Open Font License) loaded from your site only — no fonts are fetched from third-party CDNs.

== Screenshots ==

These captions match what you upload to WordPress.org as `screenshot-1.png`, `screenshot-2.png`, etc. (SVN **assets** branch — not inside the plugin zip).

1. Thrifting settings screen in WordPress — connect your site and save your Mission Control + Bid page URLs.
2. Block editor — add the “Thrifting – Bidding console” block to embed the live bidding console on a page.
3. Mission Control — Setup tab (external): streaming setup overview and key links.
4. Mission Control — RTMP/RTMPS setup for OBS or another encoder (stream URL + stream key).
5. Mission Control — live auction in progress (timer, bids, and controls in real time).
6. Bidding console — customer view embedded on your WordPress page, with the live stream and an auction in action.
7. Mission Control — Fun stuff tab: Giveaway wheel and Trivia.
8. Bidding console — customer view: enter a giveaway from the live bidding console.
9. Bidding console — customer view: giveaway winner announcement.
10. Mission Control — Payments: connect your Stripe account for payouts (Stripe Connect).
11. Mission Control — Shipping: set your own shipping rates and rules.

== Changelog ==

= 1.3.9 =
* Fix - Readme: add owner account to Contributors and disclose external service (Mission Control free signup) with Terms/Privacy links for WordPress.org review.

= 1.3.8 =
* Fix - Text domain set to **thrifting** to match the plugin directory slug (Plugin Check / WordPress.org i18n rules).
* Fix - Nonce POST values sanitized before `wp_verify_nonce`; Mission Control link `href` uses `esc_url()` at output; `wp_register_style` includes a version string.
* Change - Block `block.json` uses **apiVersion** 3 (iframe editor compatibility). **Requires at least** WordPress **6.3** (was 6.0).
* Note - Developer checklist moved out of the distributed plugin folder (see Git repo `docs/` if you use it).
* Update - Readme / listing copy for live-stream auction sellers; FAQ clarifies no per-sale commission from Thrifting (Stripe fees and plans apply).
* Update - Readme: Mission Control giveaway wheel, trivia, Stripe + shipping seller duties, liability / “as operated” disclaimer (**Other Notes** + FAQ).
* Update - Installation step 4: complete Stripe and shipping in Mission Control before first paid show.

= 1.3.7 =
* Change - Admin fonts (Inter, JetBrains Mono) are bundled locally; no Google Fonts or other remote font requests on the Thrifting settings page (WordPress.org privacy expectations).

= 1.3.6 =
* Fix - Free signup always runs on the main host (thriftingtv.com) so it quietly assigns the next pool slot (no tenant-instance errors)

= 1.3.4 =
* Change - Free signup no longer asks for a channel/business name (less confusing setup)

= 1.3.3 =
* Fix - Removed script that blocked saving an empty Mission Control URL (you can clear saved URLs now)
* Fix - Bid page URL field shows the saved value; clear + Save removes it (`delete_option`)
* Fix - Admin notices render inside the Thrifting screen with readable contrast on the dark theme

= 1.3.2 =
* Fix - Free signup now shows a clear error if the security nonce fails (no more silent reload)
* Fix - Forms POST to an explicit admin URL (reliable after moving to a top-level menu)
* Improve - Clearer messages for 404/429/503 and JSON decode failures (admin debug box)

= 1.3.1 =
* Change - Thrifting settings use a **top-level admin menu** (sidebar) with a video icon instead of hiding under Settings

= 1.3.0 =
* Added - After free signup (or duplicate-email response with URLs), save **Mission Control URL** and **Bid page URL** automatically when the API returns them

= 1.2.0 =
* Change - Product name unified as **Thrifting** in the admin UI and documentation
* Update - readme and marketing copy aligned with Mission Control + embed workflow (no WooCommerce order sync)
* Update - Added shortcode alias `[thrifting]` (same as `[thriftingtv_bid]`)

= 1.1.0 =
* Added - Mission Control URL setting, free signup from wp-admin, optional Bid page URL for embeds
* Added - Bidding console block and shortcode [thriftingtv_bid]

= 1.0.0 =
* Initial release
