Odoo 19 app

Qi Card Payment Gateway Iraq

Qi Card for Odoo 19: take card payments in Iraq on the Qi Card payment form

What it does

Qi Card API v1 - Hosted form with 3-D Secure - Refunds - IQD - Odoo 19 Community and Enterprise

Qi Card (International Smart Card) runs a card payment gateway in Iraq. This module adds it to Odoo as a payment provider. When a customer pays a quotation, an invoice or a payment link, Odoo creates the Qi Card payment on the server and sends the customer to the Qi Card payment form, where the card and 3-D Secure are handled. Odoo does not trust the browser or the notification body: it reads the payment status from Qi Card and checks the amount and currency before it marks the payment as paid.

Features

Hosted payment formOdoo creates the payment with a fresh UUID request id and sends the customer to the formUrl
Status read-backthe return page, the notification and a check every 15 minutes read GET /payment/{id}/status
Notification URL with a secretthe notification address carries a random secret; calls without it are refused
Clear outcomesSUCCESS confirms; FAILED, ERROR and AUTHENTICATION_FAILED are errors; EXPIRED cancels
Refundsfull or partial refunds from the Refund button, with the Qi Card refund status
Cancel unpaid paymentscancel a payment on Qi Card while its form is still open
Card detailsmasked card, card scheme, RRN, authorisation code and result code on the transaction
Sandbox in one clickTest mode uses the Qi Card sandbox; a button fills in the published sandbox credentials
Live hostpaste the production host Qi Card gives you; only https hosts of qi.iq are accepted
API logevery call and notification, with the password and customer details masked