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

API Documentation:
For detailed information on how to integrate with Deema Payments, please refer to the Deema Payments API Documentation.

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

Changelog

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