=== KIRAPAY – Bitcoin, Ethereum, Solana, XRP & 70+ Chain Crypto Payment Gateway for Easy Digital Downloads ===
Contributors: menganinithin, nithin1422
Tags: bitcoin, ethereum, crypto payment gateway, easy-digital-downloads, cryptocurrency payments
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Pay with Any Token. Anywhere. Instantly. Accept Bitcoin, Ethereum, Solana, XRP and 70+ chains directly into your wallet. Non-custodial, no middleman.

== Description ==

KIRAPAY is a non-custodial cross-chain crypto payment gateway. Your customers pay with any cryptocurrency on any chain (Ethereum, Base, Solana, Polygon, and more), and funds land directly in your wallet. KIRAPAY never holds your money.

**Key features:**

* Pay with any token, any chain. Your customer picks what's easiest for them
* You receive in your preferred token and chain (e.g. USDC on Base)
* Cross-chain routing handled automatically via bridges
* Card payments via on-ramp (no crypto wallet needed for your customer)
* Non-custodial, direct wallet to wallet, always
* No mandatory KYC
* Full Easy Digital Downloads compatibility

**How it works:**

1. Customer reaches checkout and selects KIRAPAY as the payment method
2. They click Purchase
3. Plugin creates a single-use KIRAPAY payment link via the KIRAPAY API
4. Customer is redirected to checkout.kira-pay.com to complete payment
5. KIRAPAY fires a webhook to the store when payment is confirmed
6. Order is automatically marked as complete

== Installation ==

1. Upload the `kirapay-for-easy-digital-downloads` folder to `/wp-content/plugins/`
2. Activate the plugin via **Plugins → Installed Plugins**
3. Go to **Downloads → Settings → Gateways**
4. Enable KIRAPAY and click Save
5. Click on the KIRAPAY tab and enter your API Key, Webhook Secret, wallet address, chain ID and token address from your [KIRAPAY dashboard](https://dashboard.kira-pay.com)
6. Set your webhook URL in the KIRAPAY dashboard to: `https://yourstore.com/wp-json/kirapay-edd/v1/webhook`
7. Save settings

== Frequently Asked Questions ==

= Where do I get an API key? =
Sign up at [kira-pay.com](https://kira-pay.com) and go to API Keys in your [dashboard](https://dashboard.kira-pay.com).

= What is the webhook URL I should enter in KIRAPAY? =
`https://yourstore.com/wp-json/kirapay-edd/v1/webhook` (replace yourstore.com with your actual domain).

= Which chains are supported? =
All major EVM chains plus Solana. See [kira-pay.com](https://kira-pay.com) for the full list.

= Do I need to hold crypto to use this? =
No. You set your preferred settlement token (e.g. USDC on Base) and KIRAPAY handles all conversions. Your customer can even pay by credit card via on-ramp.

= Is there a sandbox or test mode? =
KIRAPAY does not provide a sandbox environment. All transactions use the live API.

= How do refunds work? =
Refunds are processed via the KIRAPAY dashboard. When KIRAPAY confirms the refund, the order status in EDD is automatically updated to Refunded.

== Third-Party Services ==

This plugin connects to the following external services operated by KIRAPAY:

* [api.kira-pay.com](https://api.kira-pay.com) - Used to create payment links. Your API key, order total, currency, wallet address, and order ID are sent when a customer places an order.
* [checkout.kira-pay.com](https://checkout.kira-pay.com) - The hosted checkout page your customers are redirected to in order to complete payment. No data is sent by the plugin directly; the customer interacts with this page themselves.

These services are provided by KIRAPAY. By using this plugin you agree to the [KIRAPAY Terms of Service](https://kira-pay.com/terms) and [Privacy Policy](https://kira-pay.com/privacy).

== Screenshots ==

1. KIRAPAY payment option at EDD checkout
2. KIRAPAY settings page in EDD admin

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
