Odoo 19 app

ClickPay Payment Gateway Saudi Arabia

Take card payments on the ClickPay hosted payment page, and refund, capture or void them from Odoo.

ClickPaySaudi ArabiaSARHosted payment pageSigned callbackRefundsAuthorize and capture

What it does

Adds ClickPay as a payment provider. When the customer picks ClickPay at checkout, on a portal invoice or on a payment link, Odoo asks ClickPay for a payment page and sends the customer there. The card is typed on ClickPay's page, never in Odoo. ClickPay then posts the result to Odoo twice: a callback straight from its server, signed with your server key, and the customer's return, signed the same way. Odoo checks both signatures, the profile and the amount before it marks anything paid. Refunds, captures and voids are sent from the payment record, and a query every 15 minutes catches payments whose callback never came.

Features

Hosted payment pagetran_type sale, or auth when you capture manually; the link ClickPay returns is only followed if it is on clickpay.com.sa
Signed callback (IPN)the Signature header (HMAC-SHA256 of the whole body with the server key) is checked before the body is read; then the profile ID and the amount
Signed returnchecked the way ClickPay documents it; the return carries no amount, so Odoo queries ClickPay before it marks the order paid
Refundsfull or partial, several times, from the payment
Authorize and capture latercapture all of it or part of it, void the rest
Query on ClickPaya button on the payment and a check every 15 minutes for pending payments, held payments included
Payment page languageArabic or English, or the customer's language
Prefilled customer detailsname, email, phone and address sent so the page opens filled in; the shipping section can be hidden
Region domainset the Transaction API domain your dashboard shows; anything outside clickpay.com.sa is refused
API logevery call and callback with the ClickPay status and code; server key and customer details masked