Tamara Payments
by CRM Smiths https://crmsmiths.com/odoo-apps/payment-tamara/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_tamara$ 149.00
Tamara Payments
Tamara Payments (Buy Now, Pay Later) for Odoo
Let customers split payments with Tamara in Saudi Arabia, the UAE, Bahrain, Kuwait and Oman: hosted checkout, order authorisation, capture on shipping, cancellation, refunds and signed webhooks.
Independent integration by CRM Smiths, using the Tamara online checkout API. You need your own Tamara merchant account. Not affiliated with or endorsed by Tamara.
What it does
Adds Tamara as an Odoo payment provider. A customer who pays an order, invoice or payment link with Tamara is sent to the Tamara checkout page; when Tamara approves the order, Odoo authorises it (as Tamara requires) and the sale is confirmed. The amount is captured when you ship, from the back office, or right away if you prefer.
Return pages and webhooks are only signals: Odoo reads the order back from Tamara and checks its reference, currency and total to the halala/fils before anything changes. Webhooks must carry a tamaraToken signed with your notification token.
Sandbox in Test Mode, production when enabled. SAR, AED, BHD, KWD and OMR; checkout in English or Arabic.
Screenshots

The Tamara provider: masked API and notification tokens, the shipping company sent with captures, and the Test Connection and Register Webhook buttons.

Checkout: Tamara offered next to your other payment methods; the customer completes the payment on the Tamara page and comes back.

Payment transactions: authorised orders waiting for shipment, captured and refunded ones, a declined and a pending one, each with its Tamara order id.

Tamara history: checkout sessions, verified order reads, authorisations, captures, refunds, webhooks received and refused.
Supported versions
Odoo 17.0, 18.0, 19.0 and 20.0, Community edition. The same automated test suite (68 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 > Tamara.
- Enter the API Token and the Notification Token from the Tamara merchant portal (sandbox tokens for Test Mode), and the Shipping Company name to send with captures. Click Test Connection.
- Make sure
web.base.urlis the public https address of your Odoo, then click Register Webhook. - Set the provider to Test Mode or Enabled and publish it. Capture Amount Manually is on by default: capture when the order ships (Tamara captures by itself after 21 days).
Features
| Feature | What it does |
|---|---|
| Hosted checkout | A Tamara checkout session per attempt, with items (or one line when they do not add up), consumer, addresses, tax, shipping, locale and the risk-assessment fields. |
| Verified orders | Every return and webhook triggers a read of the order; reference, currency and total must match before the transaction changes. |
| Signed webhooks | The tamaraToken (HS256 JWT) must verify with your notification token and be unexpired; other algorithms, other keys and missing tokens are refused. |
| Authorisation | Approved orders are authorised automatically, by the webhook, the return page or the scheduled check, never twice. |
| Capture and cancel | Capture on shipping with the shipping company Tamara asks for, or at once; cancel an authorised order from the back office. |
| Refunds | Full and partial; before each refund Odoo compares Tamara's refunded total with its own, so a refund whose answer was lost is never sent twice. |
| Scheduled check | Reads open orders again (Tamara's pull mechanism) for customers who never came back and orders captured by Tamara after 21 days. |
| History | One row per Tamara call and webhook, refused ones included; tokens visible to administrators only and never logged. |
What it does not do
- Tamara widgets, the pre-checkout eligibility and pre-qualification calls.
- In-store checkout and QR codes, dispute webhooks.
- Partial captures and partial cancellations (full capture or cancel; partial refunds are supported).
FAQ
When is the order paid in Odoo?
When Tamara authorises it: the transaction is authorized and the sale is confirmed. The capture tells Tamara the order shipped.
Do I have to capture?
Capture when you ship. If you never do, Tamara captures by itself 21 days after authorisation and Odoo picks it up in the scheduled check.
What protects the webhook?
Tamara signs every notification with your notification token (tamaraToken). Odoo verifies it, then reads the order from Tamara anyway before changing anything.
Can a refund be sent twice?
No. Before each refund Odoo reads the order: if Tamara already refunded more than Odoo knows, it stops and asks you to check the Tamara merchant portal.
Which currencies?
SAR, AED, BHD, KWD and OMR, each with its own country, as Tamara requires.
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 Tamara.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1457 |
| Technical Name |
cs_payment_tamara |
| License | OPL-1 |
| Website | https://crmsmiths.com/odoo-apps/payment-tamara/?utm_source=odoo-store&utm_medium=listing&utm_campaign=cs_payment_tamara |
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