=== FraudBD ===
Contributors: fraudbd
Tags: woocommerce, fraud detection, phone verification, Bangladesh, e-commerce  
Requires at least: 5.0  
Tested up to: 6.8
Requires PHP: 7.2  
Stable tag: 1.2
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Adds fraud check for WooCommerce orders via fraudbd.com API. Verify Bangladeshi phone numbers from admin panel.

== Description ==

**FraudBD** helps store owners in Bangladesh verify phone numbers for fraud history before fulfilling WooCommerce orders.

== Assets ==
Icons: icon.png

**Features:**
- Adds a **"Check Fraud"** button to each WooCommerce order (admin view).
- Verifies Bangladeshi phone numbers through the **FraudBD API**.
- Displays order success/cancel summary, success rates, and courier-specific stats.
- Adds a **manual search** feature under the **FraudBD menu** in the admin dashboard.
- Designed for simplicity with a clean, responsive UI.

**Use Case:**
Great for store owners who want to reduce return/cancel rates by checking fraud history of new customers.

== Installation ==

1. Upload the plugin folder `fraudbd` to `/wp-content/plugins/`.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **FraudBD > Settings** in the admin dashboard.
4. Enter your **API Key**, **Username**, and **Password** from https://fraudbd.com/.
5. View any WooCommerce order or go to **FraudBD > Manual Search** to check a phone number.

== Screenshots ==

1. Settings page for entering FraudBD API credentials.
2. "Check Fraud" button on WooCommerce order detail page.
3. Result summary showing fraud stats after checking a phone number.
4. Manual phone number search in the admin menu.

== Frequently Asked Questions ==

= Is this plugin free? =
Yes, the plugin is free. You need a valid API subscription from [fraudbd.com](https://fraudbd.com/) to use it.

= What phone numbers does it support? =
Only valid Bangladeshi mobile numbers (starting with `01`) without the `+88` prefix.

= Does it work for guest orders? =
Yes, as long as the order includes a valid phone number.

== Changelog ==

= 1.0 =
* Initial release
* WooCommerce integration
* Admin menu for manual fraud checks
* API settings and result display

== Upgrade Notice ==

= 1.0 =
Initial version with WooCommerce integration and manual fraud check.

== License ==

This plugin is licensed under the GPLv2 or later.
