Skip to content
Sign in
Hesabe for WooCommerce icon

Hesabe for WooCommerce

Accept KNET, Visa, Mastercard and Apple Pay in WooCommerce with Hesabe, on Hesabe's payment page or as brands in your checkout.

Not scanned yet WordPress plugin 20 installs

Install in

No install steps yet

Follow the steps on the source page.

Hesabe for WooCommerce adds Hesabe, a payment gateway in Kuwait, to your shop as one payment method. Customers pay with KNET, Visa, Mastercard or Apple Pay, and the order is updated when Hesabe confirms the payment.

The plugin needs WooCommerce and a Hesabe merchant account. It comes set up for Hesabe’s public sandbox, so you can place test orders before you have live keys. Sandbox payments are test payments and move no money: set Environment to Production, with your own keys, before you take real orders.

Two ways to show Hesabe at checkout

  • Hosted. The customer chooses Hesabe and continues to Hesabe’s payment page, which lists the payment methods of your account.
  • Direct. The customer chooses KNET, Visa / Mastercard or Apple Pay in your checkout, then continues to that method’s page.

What it supports

  • The Checkout block and the classic checkout.
  • High-Performance Order Storage (HPOS).
  • Sandbox and Production environments, each with its own keys.
  • Apple Pay with the payment types Hesabe enables on your account (9 to 14).
  • Orders in another currency than KWD, with the Currency converter setting.

How an order gets its status

Three things update a Hesabe order, and none of them marks it paid on its own word. An order is paid when Hesabe confirms a payment that the order itself started, for the order’s amount.

  1. The customer’s return. When the customer comes back from Hesabe, the plugin asks Hesabe’s Transaction Enquiry about the order and marks it paid when Hesabe confirms the payment. A customer who cancelled or was declined comes back to a failed order. A return for an order paid with another payment method, or one that does not belong to the order, changes nothing.
  2. Hesabe’s webhook. Hesabe posts the result of every payment to the shop. It updates the order when the customer never comes back, for example after closing the browser on Hesabe’s page. Hesabe signs the webhook with your access code, and the plugin ignores a webhook whose signature does not match.
  3. Check Hesabe payment status. An order action that asks Hesabe’s Transaction Enquiry about the order and applies the answer.

A paid order is never marked failed. When Hesabe and the order disagree, such as a different amount, the order is not changed and an order note says why. When Hesabe cannot be reached as the customer comes back, the order waits for the webhook, or for Check Hesabe payment status.

External services

This plugin connects your shop to Hesabe, the payment gateway that takes the payment. It cannot take a payment without it. With Apple Pay on, it also loads Apple’s Apple Pay script.

Hesabe

The plugin talks to sandbox.hesabe.com when Environment is Sandbox and to api.hesabe.com when it is Production. The service is provided by Hesabe: https://hesabe.com/.

  • When a customer places an order with Hesabe as the payment method, your server sends Hesabe a checkout request, encrypted with your keys. It holds your merchant code, the order number and amount, the customer’s name, phone number and email address from the billing details, the WooCommerce version, and the addresses Hesabe returns the customer and posts the webhook to. For Apple Pay, and for orders in another currency with Currency converter on, it also holds the order’s currency. For Apple Pay it holds your shop’s domain.
  • The customer’s browser then goes to Hesabe’s payment page. Card details are entered there and never reach your shop.
  • Hesabe sends the customer back to your shop with the result, and posts the result to your shop’s webhook address.
  • When a customer comes back from Hesabe’s payment page, and when you run Check Hesabe payment status, your server asks Hesabe about the order. It sends the order number and your access code.
  • With Apple Pay, your server and the customer’s browser also load Hesabe’s Apple Pay script for the payment, and the browser asks Hesabe to validate your shop’s domain with Apple.

Hesabe’s terms and conditions and privacy policy.

Apple Pay

When an Apple Pay type is enabled in Direct mode, the customer’s browser loads Apple’s Apple Pay JS SDK from applepay.cdn-apple.com on the checkout page and on the plugin’s Apple Pay page. The plugin sends no order or customer data with that request. The payment itself is authorised on the customer’s device and handed to Hesabe.

Apple’s Apple Pay on the Web acceptable use guidelines and privacy policy.

Written by Joobi from the project's own listing. See the source page

apple payknetKuwaitpayment gatewaywoocommerce
29 Nov 2026
Version 11.3.1 released. Not scanned yet.

11.3.1

  • Tested with WooCommerce 11.3.1 and WordPress 7.1.5.
  • The constants WC_HESABE_TEST_URL and WC_HESABE_LIVE_URL are removed, because they did not start with the plugin’s prefix. Payments work as before.

11.2.2

  • The customer’s return no longer marks an order paid by itself: the plugin confirms the payment with Hesabe’s Transaction Enquiry first, for one of the order’s own checkouts and for the order’s amount.
  • A return changes only an order paid with Hesabe, and only when it belongs to that order.
  • Values from the webhook, the return and Hesabe’s answers are sanitised before they are stored or written into an order note.

11.2.1

  • Licensed under GPLv2 or later, with a readme for the WordPress.org Plugin Directory.
  • Declares compatibility with WooCommerce 11.3.
  • The Apple Pay page loads its scripts and styles through WordPress.
  • The gateway class is now Hesabe_WC_Gateway (was WC_Gateway_Hesabe), in line with the plugin’s other classes.

11.2

  • Declares compatibility with WooCommerce 11.2, WordPress 7.1 and the Cart and Checkout blocks.
  • Orders are updated from Hesabe’s signed webhook (Checkout API 3.0), for customers who never come back to the shop.
  • New order action: Check Hesabe payment status.
  • A failed return no longer changes a paid order.
  • The checkout shows Hesabe’s reason when Hesabe refuses a payment.
  • The return works with plain permalinks.
29 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)