Deema Payment Gateway
v1.1.4deemaplugins · 2024年9月13日 上架
A payment gateway integration between WooCommerce and Deema Payments with WooCommerce Block Checkout support.
- 正在使用
- 200+
- 评分
- 暂无
- 累计下载
- 2,656
- 最近更新
- 2026年11月16日
贡献者
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 relies on and connects to an external 3rd-party service, Deema Payments (provided by Deema Company for Computer Programming Activities WLL), to process Buy Now, Pay Later (BNPL) and installment payments for WooCommerce orders.
- Service: Deema Payments
- Website: Deema Website
- Terms of Service: Deema Terms and Conditions
- Privacy Policy: Deema Privacy Policy
- API Documentation: Deema API Documentation
Domains Used:
* Production API: https://api.deema.me/
* Sandbox API: https://sandbox-api.deema.me/
What data is sent, why, where, and when:
-
Creating Purchase Transactions (Checkout):
- When: When a customer selects “Deema Payment” on the checkout page (Classic or Block Checkout) and places an order.
- What data is sent: Order total amount, currency code (KWD or BHD), merchant order number/ID, and merchant redirect URLs (success and cancel URLs).
- Why: To initiate the purchase session with Deema Payments and obtain the hosted redirect link for the customer to complete payment.
- Where:
https://api.deema.me/api/merchant/v1/purchase(production) orhttps://sandbox-api.deema.me/api/merchant/v1/purchase(sandbox).
-
Verifying Payment Status (Callback):
- When: When the customer is redirected back to the merchant store after completing payment on the Deema hosted portal.
- What data is sent: The Deema order reference number and the merchant API key in the authorization header.
- Why: To perform server-to-server verification with Deema Payments to confirm that the payment is captured before marking the WooCommerce order as paid.
- Where:
https://api.deema.me/api/merchant/v1/purchase/status(production) orhttps://sandbox-api.deema.me/api/merchant/v1/purchase/status(sandbox).
-
Background Order Status Synchronization (WP-Cron):
- When: Every 5 minutes via a scheduled WordPress background cron job (
deema_custom_cron) for recent pending or on-hold orders. - What data is sent: The Deema order reference number and the merchant API key in the authorization header.
- Why: To automatically verify and synchronize order status (captured, cancelled, expired, or refunded) in case the customer closed their browser before redirecting or if a webhook notification was missed.
- Where:
https://api.deema.me/api/merchant/v1/purchase/status(production) orhttps://sandbox-api.deema.me/api/merchant/v1/purchase/status(sandbox).
- When: Every 5 minutes via a scheduled WordPress background cron job (
-
Processing Refunds:
- When: When a store administrator executes a refund for a Deema order through the WooCommerce order admin screen.
- What data is sent: Refund amount, currency code (KWD or BHD), optional refund reason comment, and the merchant API key.
- Why: To transmit the refund instruction to Deema Payments to release the refunded amount back to the customer.
- Where:
https://api.deema.me/api/merchant/v1/order/{order_reference}/refund(production) orhttps://sandbox-api.deema.me/api/merchant/v1/order/{order_reference}/refund(sandbox).