SADAD Payment Gateway Qatar | SADAD Web Checkout 2.1 Payment Provider
by Modvanta https://modvantaapps.tech/odoo-apps/payment-sadad/$ 64.80

SADAD Payment Gateway for Odoo 19
Accept SADAD Qatar payments in Odoo eCommerce, the customer portal, invoices, payment links and the Point of Sale. Customers pay on the SADAD Web Checkout 2.1 page with a credit card, a debit card or the SADAD wallet; Odoo checks every signature and confirms the payment with the SADAD API.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds SADAD as an Odoo payment provider. At checkout Odoo builds the Web Checkout 2.1 form with the SHA256 signature of your secret key and sends the customer to SADAD. When SADAD posts the callback and the webhook, Odoo verifies their checksumhash and then reads the transaction again from the SADAD API (List Transactions on your order reference) before marking the order paid, failed or still in progress. Payments SADAD settles after midnight are picked up by a scheduled check. Refunds are sent to SADAD from the Odoo payment.
Who it is for: Shops, schools, clinics and service companies in Qatar that sell in Qatari riyal and have a SADAD merchant account with online payments enabled.
Why merchants pick it
Web Checkout 2.1 The current SADAD hosted checkout: card data stays on SADAD, the form is signed server side with your secret key. | Never trusts the browser A signed success callback is not enough: Odoo reads the payment from the SADAD API before confirming it. | In-progress payments handled Status 1 stays pending; the cron re-reads it until SADAD settles it as success or failure after midnight. |
Verified notifications Callback and webhook checksumhash are recomputed with your secret key; bad ones are refused and logged. | Refunds from Odoo Refund-Transaction is called from the Refund button and the refund is recorded on the payment. | Masked API log Every call, callback and webhook is logged with the secret key, token and customer contact details hidden. |
Key features
SADAD payment provider for Odoo 19 (Community and Enterprise) SADAD Web Checkout 2.1 hosted payment page SHA256 request signature (secret key + sorted values) Order lines sent as productdetail (optional) Qatar mobile numbers formatted with 974 Callback checksumhash verification Webhook checksumhash verification, always acknowledged Status read from the SADAD API (login + List Transactions) Access token cached and renewed automatically | Pending status for in-progress payments Scheduled recovery of payments settled after midnight Refunds through Refund-Transaction Check Status button on the transaction Test and live mode (SADAD sandbox API) Connection test button Masked API log with retention period Point of Sale through pos_online_payment (QR code) Arabic translation included |
Credentials
Merchant ID, secret key and registered website, with the webhook URL to paste in the SADAD merchant panel and a connection test.

SADAD options
Order lines on the checkout page, the callback URL, the log retention and the Point of Sale note.

Checkout
Card and SADAD offered on the Odoo payment page for a QAR amount.

Paid payment
The SADAD transaction number and payment mode read back from the SADAD API; refunds are linked to the payment.

In-progress payment
A payment SADAD still confirms with the bank stays pending, with a Check Status on SADAD button.

API log
Checkout requests, API logins, status reads, webhooks and refunds, with secrets masked.

Arabic checkout
The payment page in Arabic (right to left), with the module translated.

How it works
Settings
| Merchant ID (SADAD ID) | Your SADAD merchant number. |
| Secret Key | Test key in Test mode, Live key once enabled; it signs the checkout form and checks the callbacks. |
| Registered Website | The domain registered with the key; sent as WEBSITE and used for the API login. |
| API Secret Key | Optional, only if SADAD gave you a separate key for the transaction API. |
| Send Order Lines | Show the order lines on the SADAD page (productdetail). |
| Keep API Log (days) | How long the masked log is kept. |
FAQ
Compatibility and support
Odoo 19 Community and Enterprise. Depends only on the Odoo payment and account_payment modules. Qatari riyal (QAR).
Questions, installation help or a feature request: write to modvantaapps@gmail.com.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 962 |
| Technical Name |
mdv_payment_sadad |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-sadad/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module