Ziina Payment Gateway - Cards, Apple Pay, Google Pay, Refunds | UAE Payment Gateway
by Modvanta
Odoo
$ 18.94

Take Ziina payments in Odoo 19: cards, Apple Pay and Google Pay on the Ziina page, refunds from Odoo
Ziina | UAE payment gateway | Dubai | AED | USD | EUR | GBP | SAR | OMR | Visa | Mastercard | Amex
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds Ziina as a payment provider. Odoo creates a Ziina payment intent, sends the customer to the Ziina payment page, and marks the order or invoice paid once it has read the payment intent from Ziina or received a signed webhook.
| Ziina payment page: Visa, Mastercard, Amex, plus Apple Pay and Google Pay when the browser offers them; card data never reaches Odoo | |
| Webhook in one click: Register Webhook sends your URL and a new random signing secret to Ziina | |
| Signature and sender IP: X-Hmac-Signature is checked with the secret, and notifications from outside the Ziina IP list Ziina publishes are refused | |
| Amount and currency check: the amount in base units and the currency must match the transaction | |
| Refunds from Odoo: full or partial; a pending refund is followed by webhook and by the scheduled action | |
| Ten currencies: AED, USD, EUR, GBP, SAR, QAR, INR, BHD, KWD and OMR; three-decimal amounts are checked against the Ziina rounding rule | |
| Test mode: Test creates Ziina test payments with the same API key: nothing is charged | |
| Status check: a button on the transaction reads the payment intent from Ziina | |
| API log: every call and notification, with the key, the secret and the card issuer masked |
Who it is for
SHOPS IN THE UAE Take card and wallet payments on your Odoo website and invoices. | ACCOUNTING TEAMS Refund from Odoo and see when Ziina confirms it. | SELLERS ABROAD Charge customers in their own currency; Ziina settles in AED. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Ziina payment provider | Not included | Included |
| Webhook registration | Not included | One button, random secret |
| Webhook signature and IP check | Not included | HMAC-SHA256 + Ziina IP list |
| Refunds from Odoo | Not included | Full and partial |
| Lost webhook recovery | Not included | Scheduled payment intent check |
Screenshots
Taken on a clean Odoo 19 database with this module installed. No Ziina account was used: the answers of Ziina on this test database are simulated from the public Ziina API documentation.
1. API key and webhook
The API key, the webhook URL, Test Connection and Register Webhook.

2. Options
How long the payment page is valid, the message shown on it, and the IP check of notifications.

3. Pay an invoice
The customer picks Ziina on the invoice in the portal, in AED.

4. Paid transaction
Payment intent and operation IDs, status and the card used.

5. Refund
A partial refund made from Odoo waits for Ziina to complete it.

6. API log
Each call and notification. Here a notification from an unknown IP was refused.

How it works
| 1 | Generate your API key on ziina.com/business/connect (Other builder or custom). Ziina shows it once. |
| 2 | Open Accounting > Configuration > Payment Providers > Ziina, paste the key and press Test Connection. |
| 3 | Press Register Webhook. Your Odoo URL must be public and use HTTPS. |
| 4 | Pay once in Test mode with a Ziina test card, then switch the provider to Enabled. |
Settings
| Payment Page Valid For: minutes before the Ziina page expires; 0 keeps the Ziina default | |
| Message on the Payment Page: shown to the customer; %s becomes the order reference | |
| Webhooks From Ziina IPs Only: on by default, with the list Ziina publishes | |
| Keep API Log: days of log kept, 90 by default |
FAQ
Has it been tested with a live Ziina account?
It was built from the public Ziina API documentation and tested with automated tests shaped like the documented answers. Try it in Test mode before going live.
Does Register Webhook replace my other webhook?
Yes. Ziina keeps one webhook URL per account, so the last one registered wins.
Why is my OMR amount refused?
Ziina asks that BHD, KWD and OMR amounts end in 0 (1.230, not 1.234). Round the price in Odoo.
What if the webhook never arrives?
When the customer comes back, Odoo reads the payment intent from Ziina. A scheduled action also checks open payments.
My Odoo runs behind a proxy. Will the IP check refuse Ziina?
Start Odoo with proxy mode so it sees the real address, or turn the IP check off and rely on the signature.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
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