=== Brionic Payments for WooCommerce ===
Contributors: brionicsecurity
Tags: woocommerce, crypto, xrp, stellar, usdc, rlusd, payments, payment gateway
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Accept XRP, XLM, USDC, and RLUSD in WooCommerce. Customers pay on a hosted, branded checkout; orders reconcile automatically on-chain via signed webhooks.

== Description ==

Brionic Payments lets your WooCommerce store accept **XRP**, **XLM (Stellar)**, **USDC**, and **RLUSD** on simple flat-monthly plans (no percentage cut) with no chargebacks.

* Customers choose a coin at checkout and pay on a hosted, branded pay page with a scan-to-pay QR code — no account required.
* Each payment is matched to its order automatically using a unique XRP destination tag or Stellar memo.
* Orders are marked **paid the moment funds settle on-chain**, via HMAC-signed webhooks that are verified in your store.
* Works with WooCommerce High-Performance Order Storage (HPOS).

This plugin connects to a [Brionic Payments](https://pay.brionicsecurity.com) account. Funds settle to **your own** wallet — the platform is non-custodial.

== Installation ==

1. Upload the `brionic-crypto` folder to `/wp-content/plugins/`, or install the ZIP via **Plugins → Add New → Upload Plugin**.
2. Activate the plugin.
3. Go to **WooCommerce → Settings → Payments → Brionic Payments** and click **Manage**.
4. Enable the method and paste your **Secret API key** (from your Brionic dashboard under *Developers → API keys*).
5. In your Brionic dashboard, add a **webhook endpoint** pointing to:
   `https://your-store.com/wp-json/brionic/v1/webhook`
   subscribe it to `charge.completed`, `charge.underpaid`, and `charge.expired`, then paste its **signing secret** (`whsec_…`) into the plugin settings.
6. Choose which coins to accept and save.

== Frequently Asked Questions ==

= Do I need a Brionic account? =
Yes. Create one free at https://pay.brionicsecurity.com — it holds your receive wallets and API keys.

= Is it custodial? =
No. Payments settle directly to the wallet you configure in Brionic. The plugin only creates charges and listens for confirmations.

= How are orders confirmed? =
When a customer pays, Brionic detects the on-chain transaction and POSTs a signed `charge.completed` webhook to your store, which marks the order paid.

= Can I test before going live? =
Yes. Use an `sk_test_` API key and a test-mode webhook secret.

== Changelog ==

= 1.0.0 =
* Initial release: XRP, XLM, USDC, RLUSD checkout, asset picker, signed webhook reconciliation, HPOS support.
