=== OKI Pay — WooCommerce HDOKI & Solana Web3 Gateway ===
Contributors: hdoki, okinextech
Tags: woocommerce, solana, crypto, hdoki, web3, payment-gateway
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Accept HDOKI (OKI Token) SPL payments on WooCommerce with real-time USD conversion via DexScreener and on-chain verification via Alchemy Solana RPC.

== Description ==

**OKI Pay for WooCommerce** is an ultra-lightweight, standalone Web3 Solana payment gateway designed for seamless HDOKI (`GJQpf6Zjvokd3YK5EprXqZUah9jxkn8aG4pTeWL7Gkju`) checkout on WordPress & WooCommerce.

= Key Features =
* **Zero-Config Activation:** Automatically activates and pre-configures your HDOKI Mint Address, Receiver Wallet (`5rr4oFvTcY6nmuqL3ZrNanFyHt6R49tZDsazUvQdomGQ`), DexScreener URL, and Alchemy Mainnet RPC (`https://solana-mainnet.g.alchemy.com/v2/dm9sQsDkZffa5tNcYF3gs`).
* **Real-Time USD to HDOKI Conversion:** Fetches live DEX prices from DexScreener and the Solana Raydium OKI/USDC pool (`7MiWRhjdthUASsU4b7cSiLbESt9vZEKVYqpXyGkwfvow`) with automatic multi-oracle fallback (GeckoTerminal & CoinGecko).
* **Multi-Wallet Web3 Selector:** Supports Phantom, Solflare, Base / Coinbase Wallet, Bitget Wallet, Backpack, OKX Wallet, Trust Wallet, and WalletConnect v2 directly inside the WooCommerce Checkout payment area.
* **Solana Pay QR & Manual Transfer Tab:** Allows customers on any device to scan a QR code or copy the exact HDOKI amount and verify by transaction hash.
* **Strict On-Chain Verification:** Validates transaction finality, SPL Token Mint Address, Destination Owner, and exact transferred amount on Solana Mainnet via Alchemy RPC.

== Installation ==

1. Upload `oki-pay-woocommerce.zip` via **WordPress Admin > Plugins > Add New > Upload Plugin**.
2. Click **Activate Plugin**.
3. Done! OKI Pay is automatically enabled and pre-configured on your WooCommerce Checkout page.
4. Optional: Visit **WooCommerce > Settings > Payments > OKI Pay** or **WooCommerce > OKI Pay (HDOKI)** to test your RPC connection or view transactions.
