=== Fsfpay Crypto Payment Gateway ===
Contributors: fsfpay, helper
Tags: woocommerce, payment, cryptocurrency, fsfpay
Requires at least: 5.8
Tested up to: 6.5
Stable tag: 1.0.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

FSFPAY WooCommerce payment gateway plugin.
This plugin adds a cryptocurrency payment option using FSFPAY.
It supports classic and block-based WooCommerce checkouts and avoids rendering default credit-card fields.
Ensure you configure API Username, API Key and Secret Key in WooCommerce -> Settings -> Payments -> FSFPAY.

== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/fsfpay-woocommerce` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to WooCommerce -> Settings -> Payments, find FSFPAY and click Setup. Enter your API Username, API Key and Secret Key. Enable the gateway.
4. Test with a product and checkout. Click 'Pay with FSFPAY (choose crypto)' then choose a coin on the order pay page. The FSFPAY widget should load.

== Troubleshooting ==

=== Checkout method compatibility ===
WooCommerce has two checkout types: Block Checkout and Classic Checkout.

FSFPAY currently supports only the Classic Checkout method.

If you see the following message on your checkout page:

“There are no payment methods available.”
To fix this, follow these steps:

1 In your WordPress admin panel, go to Pages → Checkout.
2 Edit the page.
3 Click the “Switch to classic checkout” button shown in the editor sidebar — this will automatically convert your checkout page to the Classic Checkout template.
4 Save the page and refresh your checkout.

After switching, the FSFPAY payment option will appear and work correctly.

Alternatively (manual method):

If you are using the Classic Editor, replace the page content with this shortcode:

[woocommerce_checkout]== Changelog ==
= 1.0.9 =
* Block & classic checkout compatibility improvements
* HPOS-friendly availability checks
* Prevent WooCommerce from rendering default card inputs
* Added blocks integration class
