=== CodifyCore Payments ===
Contributors: codifycore
Tags: fluentcart, payments, bkash, nagad, eps
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

bKash API, Nagad Gateway, and Easy Payment System (EPS) payment gateways for FluentCart.

== Description ==

CodifyCore Payments adds bKash API, Nagad Gateway, and Easy Payment System (EPS) as payment gateways exclusively for FluentCart stores in version 1.0.0.

All included functionality is provided in this single, entirely free plugin. No separate paid extension is required.

Included payment methods:

* bKash API
* Nagad Gateway
* Easy Payment System (EPS)

bKash API, Nagad Gateway, and EPS require the FluentCart store currency to be BDT. Gateway setup and checkout activation are handled from FluentCart's native payment settings screen. The CodifyCore settings page lets an administrator enable or disable the FluentCart integration and choose which included gateways CodifyCore Payments registers in FluentCart.

The plugin appears under `CodifyCore > Payments` for integration selection, gateway enablement, status, and setup links. FluentCart is the only supported integration in version 1.0.0 and is selected by default. The plugin remains dormant when FluentCart is not installed or active.

== External services ==

This plugin connects to third-party payment services only when a store admin enables and configures the related gateway in FluentCart payment settings and a customer selects that gateway at checkout, or when the payment provider sends a callback/IPN/payment status response.

= bKash =

bKash is used to create, execute, and query bKash tokenized payments.

When a customer chooses bKash API, the plugin sends the amount, BDT currency, order/transaction references, callback URL, merchant invoice number, and payer reference such as billing phone or customer email to bKash. During the callback, the plugin sends the bKash payment ID to execute/query the payment and confirm the result.

Service provider: bKash Limited
Terms: https://www.bkash.com/en/page/terms-and-conditions
Privacy notice: https://www.bkash.com/en/page/privacy-notice

= Nagad =

Nagad is used to create and verify Nagad gateway payments.

When a customer chooses Nagad Gateway, the plugin sends order amount, order/transaction references, customer/billing details needed by Nagad, callback URL, and configured merchant credentials to Nagad. During the callback or verification flow, the plugin sends the Nagad payment reference to confirm the payment result.

Service provider: Nagad Ltd.
Terms: https://www.nagad.com.bd/terms-of-use
Privacy policy: https://www.nagad.com.bd/pg/?n=privacy-policy

= Easy Payment System (EPS) =

EPS is used to create payment sessions, verify return/IPN payment status, and process EPS gateway responses.

When a customer chooses EPS, the plugin sends order amount, BDT currency, generated transaction identifiers, return/IPN URLs, customer name, email, phone, billing/shipping address fields, product summary fields, IP address, and merchant credentials required by EPS. EPS may send encrypted IPN/payment status data back to the configured callback URL, which the plugin decrypts and validates before updating the FluentCart order transaction.

Service provider: Easy Payment System (EPS)
Terms: https://eps.com.bd/terms-condition
Privacy policy: https://eps.com.bd/privacy-policy

== Installation ==

1. Upload the `codifycore-payments` folder to `/wp-content/plugins/`.
2. Activate the plugin through the WordPress Plugins screen.
3. Ensure FluentCart is installed and active.
4. Go to `CodifyCore > Payments` for addon status, then configure the gateways inside FluentCart payment settings.

== Frequently Asked Questions ==

= Does this require FluentCart? =

Yes. The addon remains dormant until FluentCart is active.

= Which gateways are included? =

The plugin includes bKash API, Nagad Gateway, and Easy Payment System (EPS).

= Is a paid extension required? =

No. All three gateways and all functionality in this release are included in this plugin.

= Can I disable the FluentCart integration or an individual gateway? =

Yes. Use `CodifyCore > Payments` to enable or disable the FluentCart integration and select the gateways CodifyCore Payments should register. Live checkout activation remains in FluentCart payment settings.

== Screenshots ==

1. CodifyCore Payments page with the FluentCart integration selector and gateway enablement controls.

== Changelog ==

= 1.0.0 =
* Added bKash API, Nagad Gateway, and Easy Payment System (EPS) gateways for FluentCart.
* Added dashboard controls for the FluentCart integration and individual gateway registration.

== Upgrade Notice ==

= 1.0.0 =
Dedicated addon release for bKash API, Nagad Gateway, and EPS FluentCart payment gateways.
