Title: Deema Payment Gateway
Author: deemaplugins
Published: <strong>September 13, 2024</strong>
Last modified: December 26, 2025

---

Search plugins

![](https://ps.w.org/deema-payment-gateway/assets/icon-256x256.png?rev=3300544)

# Deema Payment Gateway

 By [deemaplugins](https://profiles.wordpress.org/deemaplugins/)

[Download](https://downloads.wordpress.org/plugin/deema-payment-gateway.1.1.1.zip)

 * [Details](https://wordpress.org/plugins/deema-payment-gateway/#description)
 * [Reviews](https://wordpress.org/plugins/deema-payment-gateway/#reviews)
 *  [Installation](https://wordpress.org/plugins/deema-payment-gateway/#installation)
 * [Development](https://wordpress.org/plugins/deema-payment-gateway/#developers)

 [Support](https://wordpress.org/support/plugin/deema-payment-gateway/)

## Description

A payment gateway integration between WooCommerce and Deema Payments. Accept payments
from customers using BNPL (buy now, pay later). This plugin is specifically designed
to work with Kuwaiti Dinar (KWD) and Bahraini Dinar (BHD) currencies.

**Features:**
 * Support for both Classic and Block-based Checkout * BNPL (Buy Now,
Pay Later) payment method * Sandbox and Production modes * Automatic order status
synchronization * Refund support * HPOS (High-Performance Order Storage) compatible*
Secure payment processing

**Supported Currencies:**
 * KWD (Kuwaiti Dinar) * BHD (Bahraini Dinar)

### External Services

This plugin interacts with the following external services:

Service: Deema Payments
 Link: [Deema Payments](https://deema.me)

**API Documentation:**
 For detailed information on how to integrate with Deema 
Payments, please refer to the [Deema Payments API Documentation](https://docs.deema.me/).

**API Endpoints:**
 – Production Host: `https://api.deema.me/` – Sandbox Host: `
https://sandbox-api.deema.me/`

## Installation

**Minimum Requirements:**
 * WordPress 5.8 or higher * WooCommerce 8.3 or higher*
PHP 7.3 or higher

**Installation Steps:**

 1. Upload the plugin files to the `/wp-content/plugins/deema-payment-gateway` directory,
    or install the plugin through the WordPress plugins screen directly
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to WooCommerce > Settings > Payments
 4. Click on “Deema Payment” to configure the gateway
 5. Enable the payment method and configure your API keys
 6. Save your settings

**Configuration:**

 1. **Enable/Disable:** Check to enable Deema Payment gateway
 2. **Title:** Enter the title customers see during checkout (default: “Split your 
    payments with deema”)
 3. **Description:** Enter the description customers see during checkout
 4. **Sandbox Mode:** Enable for testing with sandbox API keys
 5. **Sandbox API Key:** Enter your sandbox API key from Deema dashboard
 6. **API Key:** Enter your production API key from Deema dashboard
 7. **Debug Log:** Enable to log payment events for troubleshooting

## FAQ

### What currencies does this plugin support?

This plugin supports Kuwaiti Dinar (KWD) and Bahraini Dinar (BHD) only. The payment
method will automatically be hidden if your store uses a different currency.

### Does this plugin work with WooCommerce Block Checkout?

Yes! Version 1.1.0 adds full support for WooCommerce Block-based Checkout pages.

### Where can I get my API keys?

You can obtain your API keys from your Deema merchant dashboard at https://www.deema.
me/

### Can I test the plugin before going live?

Yes, enable Sandbox Mode in the settings and use your sandbox API key to test payments
without processing real transactions.

### Does this plugin support refunds?

Yes, you can process full and partial refunds directly from the WooCommerce order
page.

### Is this plugin compatible with HPOS?

Yes, this plugin is fully compatible with WooCommerce High-Performance Order Storage(
HPOS).

### Where can I view payment logs?

Enable Debug Log in the plugin settings, then view logs at WooCommerce > Status 
> Logs. Look for logs with the “deema_payment” source.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Deema Payment Gateway” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ deemaplugins ](https://profiles.wordpress.org/deemaplugins/)
 *   [ Deema ](https://profiles.wordpress.org/deema/)

[Translate “Deema Payment Gateway” into your language.](https://translate.wordpress.org/projects/wp-plugins/deema-payment-gateway)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/deema-payment-gateway/),
check out the [SVN repository](https://plugins.svn.wordpress.org/deema-payment-gateway/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/deema-payment-gateway/)
by [RSS](https://plugins.trac.wordpress.org/log/deema-payment-gateway/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1 – 2025-12-24

 * Updated: Refund API to use new endpoint (/api/merchant/v1/order/{order_reference}/
   refund)
 * Added: Fully refunded order status handling in webhook
 * Added: Fully refunded order status handling in cron for missed webhooks
 * Added: Automatic stock restoration when orders are fully refunded
 * Improved: Refund API logging (URL, payload, response)

#### 1.1.0 – 2025-11-03

 * Added: Full support for WooCommerce Block-based Checkout
 * Added: HPOS (High-Performance Order Storage) compatibility declaration
 * Added: Cart/Checkout Blocks compatibility declaration
 * Improved: Replaced cURL with WordPress HTTP API (wp_remote_request)
 * Improved: Enhanced security with proper data escaping and sanitization
 * Improved: Better SQL query preparation to prevent SQL injection
 * Improved: Logger implementation using modern WooCommerce logger
 * Fixed: PHP 8.2+ compatibility – Added proper property declarations
 * Fixed: Deprecated wc_get_log_file_path() function
 * Fixed: Nonce verification warnings with proper comments for callbacks
 * Updated: Minimum WooCommerce version to 8.3
 * Updated: Code to follow WordPress coding standards

#### 1.1.0

 * Fixed: README.txt
 * Various bug fixes and improvements

## Meta

 *  Version **1.1.1**
 *  Last updated **7 months ago**
 *  Active installations **100+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [payments](https://wordpress.org/plugins/tags/payments/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/deema-payment-gateway/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/deema-payment-gateway/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/deema-payment-gateway/reviews/)

## Contributors

 *   [ deemaplugins ](https://profiles.wordpress.org/deemaplugins/)
 *   [ Deema ](https://profiles.wordpress.org/deema/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/deema-payment-gateway/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.deema.me/)