=== Provxo Trials ===
Contributors: provxo
Donate link: https://provxo.com
Tags: trial form, membership automation, provider console, shortcode form, saas connector
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.8.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed branded provider trial request forms on WordPress. Connects securely to your Provxo account (external service) for panel automation.

== Description ==

**Provxo Trials** is the WordPress connector for [Provxo](https://provxo.com) — software that helps **providers** automate free-trial request forms, panel line creation, credentials delivery, and abuse rules.

This plugin does **not** host video streams, IPTV channels, or playlists as a content service. It is a form + admin console that talks to **your own Provxo SaaS account** and **your authorized panel APIs**.

### What you get

* Public shortcode form: `[provxo_trial]`
* Site admin console (dashboard, panel binding, trials list, site branding)
* License activation against your Provxo platform URL
* Test / Live mode for safe design work
* Optional logo, colors, SMTP and WhatsApp *settings stored via your Provxo account*

### External service (required for live use)

This plugin **requires a Provxo provider account and active license**.

When activated, the plugin sends site and form data to **your configured Provxo platform** (API base URL you enter, typically `https://your-provxo-domain.com`):

* Site URL, site name, license key
* Trial request fields (name, email, phone/WhatsApp, device, language, …)
* Settings you save in the plugin console

**Without an API base URL + valid license, Live requests will not create trials.**

Privacy details: [https://provxo.com/privacy](https://provxo.com/privacy)  
Terms: [https://provxo.com/terms](https://provxo.com/terms)  
Docs: [https://provxo.com/docs](https://provxo.com/docs)

You remain responsible for complying with telecom laws, panel provider terms, and your customers’ privacy rights.

### Shortcode

```
[provxo_trial]
```

Optional preview (no real trial):

```
[provxo_trial preview="1"]
```

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/provxo-wordpress` or install the ZIP via **Plugins → Add New**.
2. Activate **Provxo Trials**.
3. Open **Provxo → License**.
4. Enter your **Platform URL** (Provxo SaaS base URL) and **license key** from your Provxo console.
5. Connect a panel, configure Site settings, place `[provxo_trial]` on a page.

== Frequently Asked Questions ==

= Do I need a Provxo account? =

Yes for Live mode. Provxo Trials is a connector plugin. Trial creation and credentials are handled by your Provxo SaaS + your panel API credentials stored in Provxo.

= Is this plugin free? =

The plugin software is free under the GPL. Using the Provxo cloud product requires a Provxo plan/license as sold by Provxo.

= Where is customer data sent? =

Trial form submissions and plugin settings go to the **API base URL** you configure (your Provxo installation). They are not sent to third-party ad networks by this plugin.

= Can I use it offline / test design? =

Yes. Set **Test mode** in the plugin dashboard to preview success UI without calling the panel.

= Does Provxo sell IPTV content? =

No. Provxo is provider automation software. Content, rights, and streams remain with the provider and their lawful panel sources.

= How do I uninstall? =

Deactivate and delete the plugin. On delete, plugin options are removed (see `uninstall.php`). Historical trials remain in your Provxo account.

== Screenshots ==

1. License activation screen
2. Site settings and branding
3. Trials list
4. Public trial form (shortcode)

== Changelog ==

= 1.8.3 =
* Plugin Check: remove PHP 8.1 list helper call for WP 6.0 compatibility
* Sanitize remaining GET inputs (preview flag, integer query helpers)

= 1.8.2 =
* Plugin Check: escape status badges, sanitize inputs with wp_unslash/absint, list-check compatible with WP 6.0
* Remove load_plugin_textdomain for WordPress.org auto-translations

= 1.8.1 =
* WordPress.org scanner fixes: remove Update URI, Tested up to 7.0, text domain provxo-trials

= 1.8.0 =
* WordPress.org readiness: GPL headers, readme, privacy policy text, uninstall cleanup
* Service disclosure on License screen
* Local fonts only (no remote Google Fonts)
* Plugin action links and i18n load path
* Soft rate limit on public trial AJAX
* Test/preview credentials use example.com only (no real panel hosts)

= 1.7.1 =
* Previous release: multi-site license console, trials, panel bind, shortcode form

== Upgrade Notice ==

= 1.8.3 =
Final Plugin Check cleanups for WordPress.org review.

= 1.8.2 =
Plugin Check security and compatibility cleanups before review.

= 1.8.1 =
WordPress.org automated scan fixes (Update URI removed, Tested up to 7.0, text domain).

= 1.8.0 =
Recommended update for privacy disclosure and WordPress.org packaging standards.

== Privacy Policy ==

This plugin stores connection options (API URL, license key, site UID) in WordPress options (`provxo_settings`).

On **Live** trial requests it transmits visitor-submitted form fields and site identifiers to the Provxo platform URL you configure, for the purpose of creating/managing trials. See in-plugin Privacy notice under **Provxo → Setup** and your site Privacy Policy tool (Tools → Privacy).
