=== Crypt2Merchant Gateway ===
Contributors: cardinaldelphi
Tags: woocommerce, payment gateway, crypto, card payments, USDC, Base
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Accept card and crypto payments in your WooCommerce store.

== Description ==

Crypt2Merchant Gateway lets WooCommerce merchants accept credit/debit card and cryptocurrency payments. Customers pay however they prefer — the merchant receives instant settlement in USDC on the Base blockchain.

**How it works:**

1. Customer checks out and selects "Pay with Card or Crypto"
2. They're redirected to a secure payment page
3. Customer pays with their card or direct crypto
4. Payment is confirmed and the WooCommerce order is marked complete
5. Funds are settled to the merchant's wallet

**Features:**

* Credit/debit card payments via crypto onramp
* Direct cryptocurrency payments (USDC, ETH, BTC)
* Instant settlement to merchant wallet on Base
* WooCommerce Blocks checkout support
* Automatic currency conversion for non-USD stores
* Webhook-based order confirmation
* Simple setup — just enter your API key

== Installation ==

1. Upload the plugin zip via Plugins > Add New > Upload Plugin
2. Activate the plugin through the Plugins menu
3. Go to WooCommerce > Settings > Payments
4. Enable "Crypt2Merchant" and enter your API key
5. Start accepting payments

== Configuration ==

You will receive an API key from Cardinal Delphi when you are onboarded as a merchant.

* **API URL**: Pre-filled with the correct URL. Do not change unless instructed.
* **API Key**: Your unique project API key. Enter the key provided during onboarding.

== Changelog ==

= 1.1.0 =
* Fixed webhook handler to support PayRam FILLED and closed statuses
* Fixed order lookup for WooCommerce HPOS compatibility
* Added multiple fallback methods for order matching
* Suppressed noisy OPEN status webhook notes
* Added full webhook payload logging for debugging
* Improved thank-you page with payment status polling

= 1.0.0 =
* Initial release
* PayRam API integration for payment creation
* Webhook handler for payment confirmation
* WooCommerce Blocks support
* Automatic currency conversion
