
外掛標籤
開發者團隊
② 後台搜尋「S4D Payment Gateway with Thawani for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Originally a paid plugin developed by The Source for Development (https://www.s4d.om), rewritten with Claude Code and released as open source.
Features:
Hosted Thawani checkout — customers redirect to Thawani’s secure checkout page; PCI scope stays with Thawani.
Saved cards — logged-in customers can tokenize cards on Thawani and reuse them at checkout.
Refunds — full refunds from the WooCommerce admin (Thawani does not support partial refunds).
Webhooks — optional server-to-server endpoint so payment status syncs even if the customer closes the page before redirect. Optional HMAC-SHA256 signature verification.
WooCommerce Blocks support and HPOS compatibility.
Currency conversion hook (thawani_gateway_convert_to_omr) for non-OMR stores.
External services
This plugin connects to Thawani Pay, the payment gateway operated by Thawani Technologies LLC (https://thawani.om), to process card payments for your WooCommerce store. Using this plugin requires a Thawani merchant account and API keys, which you enter in the gateway settings. Thawani is a third-party service and is not affiliated with this plugin’s authors.
The plugin communicates with Thawani’s API endpoints (https://checkout.thawani.om in live mode and https://uatcheckout.thawani.om in test mode) in the following situations:
When a customer places an order with this gateway, a checkout session or payment intent is created. The data sent includes the order amount and currency, product/line-item names, a client reference derived from the order ID, and your merchant API key (sent as a request header). The customer is then redirected to Thawani’s hosted checkout page to enter their card details — no card data is handled or stored by your site.
When a logged-in customer reuses or deletes a saved card, the plugin creates/retrieves a Thawani customer record and its stored payment methods. The data sent is a customer identifier and your merchant API key.
When a store administrator issues a refund, the plugin looks up the payment and sends a refund request containing the payment ID, amount, and reason.
If you configure the optional webhook, Thawani sends payment-status notifications back to your site, which the plugin verifies (optionally via HMAC-SHA256) and uses to update the order.
No data is sent to Thawani except as part of these payment operations.
Thawani Terms and Conditions: https://thawani.om/terms/
Thawani Privacy Policy: https://thawani.om/privacy-policy-2/
