| 开发者 | hesabeit |
|---|---|
| 更新时间 | 2026年11月29日 20:43 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Environment to Production, with your own keys, before you take real orders.
Two ways to show Hesabe at checkout
Currency converter setting.Check Hesabe payment status.
Plugins, choose Add New Plugin, search for "Hesabe for WooCommerce", then install and activate it. Or upload the plugin's ZIP with Upload Plugin.WooCommerce > Settings > Payments > Hesabe.Enable Hesabe Payments.Environment. Sandbox is filled in with Hesabe's public sandbox keys. For Production, enter the merchant code, access code, secret key and IV key of your Hesabe account.Integration mode. In Direct mode, tick the brands to show: KNET, Visa / Mastercard, and the Apple Pay types enabled on your Hesabe account.For live payments, yes. Hesabe gives you a merchant code, an access code, a secret key and an IV key. For testing, the Sandbox environment works with the public sandbox keys the plugin is filled in with. Hesabe lists the test cards in its sandbox details.
KNET, Visa and Mastercard, and Apple Pay. Hesabe decides which of them are active on your account.
Yes, and with the classic checkout shortcode. It also declares compatibility with High-Performance Order Storage.
Open the order, choose Check Hesabe payment status under Order actions and press Update. The plugin asks Hesabe and marks the order paid when Hesabe confirms the payment.
This happens when the customer does not come back to the shop and Hesabe's webhook cannot reach it. The webhook address is https://your-shop.example.com/wc-api/wc_hesabe_webhook/, or https://your-shop.example.com/?wc-api=wc_hesabe_webhook with plain permalinks. The shop must be reachable from the internet over HTTPS, and a firewall must let Hesabe's POST through.
/.well-known/apple-developer-merchantid-domain-association on your shop.Integration mode set to Direct, with the Apple Pay types of your account ticked.Turn on Currency converter. The plugin then sends the order's currency, and Hesabe charges the converted amount in KWD. The order note shows the amount charged next to the order total. With the setting off, the plugin sends the order's amount without a currency and Hesabe charges that number in KWD.
Check that the gateway is enabled, that WooCommerce is active, and that all four keys of the chosen environment are filled in.
The message, and the order note, give Hesabe's reason. For example, Hesabe refuses a customer email at a domain that receives no mail. Check that the keys match the environment.
Against Hesabe's sandbox in November 2026, with KNET and Visa / Mastercard in Hosted and Direct mode, on the Checkout block and the classic checkout: WooCommerce 11.3.1 on WordPress 7.1.5 and PHP 8.5. Payments were also checked with WooCommerce 11.2.2 on WordPress 7.1.4 and PHP 8.5, and with WooCommerce 10.7.0 on WordPress 6.9.4 and PHP 8.3.
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.Hesabe_WC_Gateway (was WC_Gateway_Hesabe), in line with the plugin's other classes.Check Hesabe payment status.