=== Oreem Pay ===
Contributors: oreem
Donate link: https://oreem.com
Tags: woocommerce, payments, oreem pay
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Enables the Oreem Pay payment method for WooCommerce.

== Description ==

Oreem Pay integrates WooCommerce with the Oreem Pay payment gateway, allowing customers to securely pay for their orders using the Oreem Pay payment method during checkout.

The plugin connects your WooCommerce store with the Oreem Pay platform to create and process payment transactions, redirect customers to the secure payment page when required, and receive payment status updates from Oreem Pay.

== External Services ==

This plugin connects to the Oreem Pay API to create payment transactions, process payments, and receive payment status updates. The API environment and related credentials are configurable in the plugin settings.

**What data is sent:**

*Payment creation (at checkout):* Order number, order amount, currency, customer name, customer email address, customer phone number, billing and shipping address details, and other information required by Oreem Pay to create and process the payment transaction.

*Payment status updates:* Transaction reference, order reference, payment status, payment amount, currency, and related transaction information may be received from Oreem Pay to update the corresponding WooCommerce order status.

**When data is sent:** Data is sent when a customer selects Oreem Pay and places an order through WooCommerce checkout. Payment-related data may also be exchanged when Oreem Pay sends a payment confirmation, callback, or webhook to the store.

**Service provider:** Oreem Pay

* Terms of Service: https://oreem.com/terms-conditions/
* Privacy Policy: https://oreem.com/privacy-policy/

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **WooCommerce > Settings > Payments**.
4. Enable **Oreem Pay** as a payment method.
5. Enter the required Oreem Pay API credentials and configure the payment gateway settings.
6. Save the settings and test the payment flow before accepting live payments.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

Yes. WooCommerce is required to use the Oreem Pay payment gateway.

= How does Oreem Pay work? =

Customers select Oreem Pay during WooCommerce checkout. The plugin creates a payment transaction with Oreem Pay and, when required, redirects the customer to the Oreem Pay secure payment page to complete the payment.

= Does the plugin support payment status updates? =

Yes. Oreem Pay can send payment confirmation or transaction status information back to the WooCommerce store so that the corresponding order can be updated.

= Can I use a test or demo environment? =

If your Oreem Pay account provides a sandbox or test environment, you can configure the plugin to use the appropriate test API credentials and environment before switching to live payments.

= Where can I configure Oreem Pay? =

Go to **WooCommerce > Settings > Payments > Oreem Pay** to configure the payment gateway and enter your Oreem Pay credentials.

== Screenshots ==

1. Oreem Pay dashboard payment details and statistics 
2. Oreem Pay payment gateway settings under WooCommerce > Settings > Payments.
3. Oreem Pay payment gateway settings (P2).
4. Oreem Pay as payment option on checkout
5. The Oreem Pay payment/redirect page.


== Changelog ==

= 1.8.0 =
* Maintenance and WordPress coding standards improvements.
