=== PayTheFly Crypto Gateway ===
Contributors: paythefly
Donate link: https://paythefly.com
Tags: cryptocurrency, payment, crypto, bitcoin, ethereum
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Integrate PayTheFly cryptocurrency payment services into your WordPress site.

== Description ==

PayTheFly allows you to easily accept cryptocurrency payments on your WordPress website. Simply integrate PayTheFly's payment gateway and start accepting crypto payments from your customers.

**Features:**

* Easy cryptocurrency payment integration
* Gutenberg block support
* Shortcode support for classic editor
* REST API for seamless integration
* Admin dashboard for payment management
* Internationalization ready (i18n support)

**Supported Cryptocurrencies:**

PayTheFly supports various popular cryptocurrencies through its payment gateway.

**How It Works:**

1. Install and activate the plugin
2. Configure your PayTheFly API credentials in Settings
3. Add payment buttons using blocks, shortcodes, or the content filter
4. Receive cryptocurrency payments directly to your wallet

== Installation ==

1. Upload the `paythefly-crypto-gateway` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings > PayTheFly to configure your API credentials

== Frequently Asked Questions ==

= Do I need a PayTheFly account? =

Yes, you need to register at [PayTheFly.com](https://paythefly.com) to get your API credentials.

= Which cryptocurrencies are supported? =

PayTheFly supports multiple popular cryptocurrencies. Check the PayTheFly website for the full list of supported currencies.

= Is this plugin compatible with WooCommerce? =

This is a standalone payment plugin. For WooCommerce integration, please check our dedicated WooCommerce gateway plugin.

= How do I add a payment button? =

You can use:
* The PayTheFly Gutenberg block in the block editor
* The `[paythefly-crypto-gateway]` shortcode in the classic editor
* The automatic content filter feature

== Screenshots ==

1. Admin settings page
2. Payment button in the block editor
3. Frontend payment button

== Changelog ==

= 1.0.7 =
* Added EIP-712 payment signing for secure on-chain verification
* Added chain-specific configuration support

= 1.0.6 =
* Renamed main plugin file to follow WordPress naming convention (paythefly-crypto-gateway.php)

= 1.0.5 =
* Fixed database queries for WordPress < 6.2 compatibility (replaced %i placeholder)
* Added phpcs:disable comments for custom table queries

= 1.0.4 =
* Fixed PHP syntax errors: namespace/declare statements now correctly placed before ABSPATH check
* Added source code documentation with GitHub repository link
* Improved REST API permission callbacks with proper documentation

= 1.0.3 =
* Added direct file access protection to all PHP files
* Fixed WordPress.org plugin check requirements

= 1.0.2 =
* Improved security for REST API and database queries
* Added i18n support for JS translations

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.4 =
PHP syntax fixes and WordPress.org review compliance improvements.

= 1.0.3 =
WordPress.org plugin check compliance improvements.

= 1.0.2 =
Security improvements and i18n support added.

== Development ==

This plugin uses modern JavaScript (React/TypeScript) for the frontend. The source code is publicly available on GitHub.

= Source Code =

GitHub Repository: [https://github.com/moremorefun/wppay](https://github.com/moremorefun/wppay)

The `dist/assets/` directory contains compiled JavaScript files. The original source files are in the `src/` directory of the repository.

= Build Instructions =

1. Clone the repository
2. Install dependencies: `pnpm install`
3. Build for production: `pnpm build`

== Privacy Policy ==

This plugin connects to the PayTheFly payment service to process cryptocurrency payments. When a user initiates a payment, order data is sent to PayTheFly's servers. Please refer to PayTheFly's privacy policy at https://paythefly.com/privacy for more information.
