=== CoinVoyage PayKit and SwapKit ===
Requires at least: 6.5
Requires PHP: 8.1
Stable tag: 0.1.4
License: BSD-2-Clause

Standalone PayKit payment and SwapKit token swap widgets.

== Installation ==
Upload the plugin ZIP under Plugins > Add New > Upload Plugin.
Activate and configure Settings > CoinVoyage with your public API key.
To get a key, sign in or create an account at https://dashboard.coinvoyage.io/ and create or select your organization.
Open Developers > API keys and click Generate new key. Copy the value labeled API key into the plugin's Public API key field and save.
The Secret key is shown only once. Store it securely before closing the dialog; never paste it into the plugin form, a page, or a shortcode.

== Usage ==
[coinvoyage_swap]
[coinvoyage_pay order_id="YOUR_EXISTING_ORDER_ID"]
[coinvoyage_pay chain="1" amount="0.01" address="YOUR_RECIPIENT"]

Customize the Pay button with button_text="Pay now" on any coinvoyage_pay shortcode. Omit it or leave it blank to keep Pay.

Optional mode: auto, light, dark. Optional token for token deposits.
An existing completed order cannot be reused for new purchases.

== External services ==
Widgets contact CoinVoyage APIs and the wallet/RPC services used by PayKit and SwapKit.
WalletConnect can be configured under Settings > CoinVoyage.
Keep merchant signing secrets on the server, never in widget settings or shortcodes.


Appearance: Settings > CoinVoyage provides separate PayKit and SwapKit defaults. Shortcodes can override colors, radius and advanced theme JSON.

== Upgrade notice ==
0.1.3 separates standalone widgets from checkout. Existing widget settings and shortcodes remain. If you use the 0.1.2 gateway, upgrade this plugin before activating the separate CoinVoyage Payments plugin (or deactivate the legacy plugin first). Checkout is temporarily unavailable between steps. The payment plugin preserves existing orders, pending attempts, public settings and webhook routes; do not delete payment metadata.
