=== Ada Payments for WooCommerce ===
Contributors: lidonationdevs
Author: lidonationdevs
Tags: woocommerce, cryptocurrency, payments, cardano, ada
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept payments in ADA (Cardano native token) directly via WooCommerce. 

== Description ==

Accept payments in ADA, the native cryptocurrency of the Cardano blockchain, directly through your WooCommerce store.

Ada Payments for WooCommerce integrates seamlessly with browser-based Cardano wallets to initiate, build, and sign transactions securely. Customers can pay with their preferred wallet, and funds go directly to your Cardano wallet address.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate the plugin from the **Plugins** screen in WordPress.
3. Go to **WooCommerce > Settings > Payments**.
   - Screenshot 1: Payment settings tab.
4. Enable **Ada Payments** and click **Manage**.
5. Fill in the required fields:
   - Blockfrost API Key
   - CoinAPI Key
   - CoinMarketCap API Key
   - Your Cardano Wallet Address  
   - Screenshot 2: Plugin settings screen.
   - Screenshot 3: Cardano wallet address field.
6. Save your changes.
7. At checkout, customers will see an option to pay with ADA.
   - Screenshot 4: ADA payment option at checkout.
8. After selecting a wallet, the transaction is prepared and displayed.
   - Screenshot 5: Transaction summary view.
9. Customers confirm and sign the transaction with their wallet.
   - Screenshot 6: Wallet confirmation prompt.

== Screenshots ==

1. Payment settings tab.
2. Plugin settings screen.
3. Cardano wallet address field.
4. ADA payment option at checkout.
5. Transaction summary view.
6. Wallet confirmation prompt.

== Frequently Asked Questions ==

= What wallets are supported? =  
Any Cardano wallet that supports CIP-30 browser extensions, such as Eternl, Nami, or Flint.

= Can I test it before going live? =  
Yes. Use Blockfrost’s `preview` API key for testnet mode.

== Changelog ==

= 1.1.1 =
* Improved checkout display — ADA exchange rate now shown on a separate line with subtle styling
* Fixed rate line formatting in blocks and shortcode checkout

= 1.1.0 =
* Added dynamic ADA amount display on checkout (blocks and shortcode)
* Added CoinMarketCap API support as primary price feed (CoinGecko fallback)
* Fixed WC Blocks compatibility — proper payment method data and redirect handling
* Added `wc-blocks-data-store` dependency for blocks checkout
* Improved script enqueueing with proper dependency management
* Changed text domain from `lidodevs-adapayments-for-woocommerce` to `adapayments-for-woocommerce`
* Tested up to WordPress 7.0

= 1.0.0 =
* Initial release.

