PayTabs Payments
by CRM Smiths https://crmsmiths.com/odoo-apps/payment-paytabs/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_paytabs$ 129.00
PayTabs Payments
Odoo PayTabs Integration (Hosted Payment Page)
Take payments in Odoo through the PayTabs Hosted Payment Page in Saudi Arabia, the UAE, Egypt, Oman, Jordan, Kuwait, Iraq, Morocco, Qatar or Global: signed callbacks and return pages, verified transactions and refunds.
Independent integration by CRM Smiths, using the PayTabs PT2 API. You need your own PayTabs account. Not affiliated with or endorsed by PayTabs.
What it does
Adds PayTabs as an Odoo payment provider. Odoo creates a payment page on the PayTabs instance of your region and sends the customer there, in English or Arabic; no card data reaches Odoo.
Return pages and callbacks are checked with PayTabs' HMAC-SHA256 signatures and then only make Odoo query the transaction, which must match the cart, currency, amount and type before an order is confirmed. Payments on anti-fraud hold stay pending.
Full and partial refunds from Odoo; an earlier refund whose answer was lost is looked up before a new one is sent.
Screenshots

The PayTabs provider: region, profile ID and the masked server key that also verifies callbacks and return pages.

Checkout: PayTabs offered next to your other payment methods; the customer pays on the PayTabs hosted page of your region.

Payment transactions: authorised, refunded, declined and on-hold PayTabs payments with their transaction references.

PayTabs history: payment pages, verified queries, refunds, callbacks received and refused.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (59 offline tests) passes on all four versions.
Depends on: Payment (payment); Python requests.
Setup
- Install the module. In Odoo: Invoicing/Accounting or Website > Configuration > Payment Providers > PayTabs.
- Choose the Region of your PayTabs account (your dashboard address with "merchant" replaced by "secure"), enter the Profile ID and the Server Key (Developers > Key management). Click Test Connection.
- Make sure
web.base.urlis the public https address of your Odoo: each payment tells PayTabs where to return the customer and where to post its callback. - Publish the provider. A test profile makes test payments; a live profile live ones.
Features
| Feature | What it does |
|---|---|
| Hosted payment page | On your region's PayTabs host, English or Arabic, customer details prefilled. |
| Signed callbacks | The Signature header must be the HMAC-SHA256 of the body with your server key. |
| Signed return pages | The return POST signature is verified (PayTabs' published algorithm) before Odoo reads anything. |
| Verified transactions | A query by tran_ref must match cart id, currency, amount and type; A = paid, H = held for review, P = pending, D/E/V = cancelled with the code. |
| Refunds | Full and partial; lost refund answers are looked up before a new refund. |
| All regions | KSA, UAE, Egypt, Oman, Jordan, Kuwait, Iraq, Morocco, Qatar and Global. |
| History | One row per PayTabs call and callback; the server key is visible to administrators only and never logged. |
What it does not do
- Authorise/capture/void, saved cards and recurring payments.
- PayTabs' card forms inside your own page (they would put card data in Odoo's scope).
- Invoices and pay-by-link.
FAQ
Which region do I choose?
The one of your merchant dashboard: merchant.paytabs.sa is KSA, merchant.paytabs.com is UAE, and so on. A wrong region fails the connection test.
Can someone fake a payment confirmation?
Callbacks and return pages without a valid signature are ignored; valid ones only make Odoo ask PayTabs for the transaction.
What does "on hold" mean?
PayTabs authorised the payment but holds it for an anti-fraud review; the Odoo transaction stays pending until PayTabs decides.
Do I configure the IPN?
Not required: every payment carries its own callback address.
Support
Questions, problems or a feature you need: write to hello@crmsmiths.com. Please include your Odoo version and, for an error, the message shown and the matching row of the module's history.
Published by CRM Smiths. Independent integration; not affiliated with or endorsed by PayTabs.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1189 |
| Technical Name |
cs_payment_paytabs |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/payment-paytabs/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_paytabs |
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