=== Payd Money for WooCommerce ===
Contributors: paydhq
Tags: woocommerce, payments, ecommerce, e-commerce, payd
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Get paid the easy, cool way on your WooCommerce store powered by Payd Money.

== Description ==

Payd Money for WooCommerce is a payment gateway that allows you to accept payments on your WooCommerce store via Payd Money.

= Features =

* Accept payments via Payd Money
* Automatic payment verification
* Support for refunds
* Compatible with WooCommerce blocks

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/payd-money-for-woocommerce` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to WooCommerce > Settings > Payments and enable "Payd Money for WooCommerce"
4. Configure the plugin settings with your Payd Money API credentials

== Frequently Asked Questions ==

= Do I need a Payd Money account? =

Yes, you need to have a Payd Money account to use this plugin. You can sign up at [https://payd.money](https://payd.money).

= Is this plugin compatible with the latest version of WooCommerce? =

Yes, this plugin is regularly updated to maintain compatibility with the latest versions of WooCommerce.

== Screenshots ==

1. Payment gateway settings
2. Checkout experience

== Changelog ==

= 2.6 =
* Fixed callback URL handling to support wc_gateway_payd endpoint
* Updated callback URL settings with clearer documentation
* Set default callback URL to match Payd API's expected format

= 2.5 =
* Fixed callback handling to properly process different Payd API callback formats
* Improved order ID detection from various callback data structures
* Enhanced transaction reference extraction from callback data
* Fixed HTTP status code to always return 200 OK for callbacks
* Added support for alternative callback URL format (wc_gateway_payd)

= 2.3 =
* Added comprehensive input validation for API requests
* Enhanced error handling for Payd API responses with specific error codes and messages
* Implemented proper data sanitization throughout the plugin
* Added detailed error messages and improved logging with timestamps
* Improved callback processing with better error reporting

= 2.2 =
* Initial public release

== Upgrade Notice ==

= 2.6 =
This update fixes the callback URL handling to properly support the wc_gateway_payd endpoint used by Payd API. Update immediately to ensure payments are properly processed.

= 2.5 =
This update fixes critical issues with payment callback processing. Update immediately to ensure payments are properly processed.

= 2.3 =
This update adds improved error handling and validation to provide better feedback when payment issues occur. 