| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 470 |
| Technical Name |
payment_click_uz |
| License | OPL-1 |
| Website | https://todoo.uz |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 470 |
| Technical Name |
payment_click_uz |
| License | OPL-1 |
| Website | https://todoo.uz |
Click Payment Gateway
Accept payments via Click.uz directly in your Odoo eCommerce store. QR code, deep-link, and full SHOP-API integration — out of the box.
Key Features
Desktop users scan a QR code. Mobile users tap "Open in Click app" — both flows work seamlessly.
Every Prepare and Complete callback is verified with an MD5 signature — no unauthorized transactions.
Implements Click's two-step flow: Prepare (action=0) and Complete (action=1) with proper state transitions.
Native support for Uzbek Som. Activate UZS in Odoo and you're ready to accept local payments.
Prepare URL and Complete URL are auto-generated from your Odoo domain — just copy and paste into Click merchant cabinet.
Follows Odoo 19 payment provider standards. Appears alongside other providers (Stripe, PayPal) in checkout.
Screenshots
Payment Provider form — credentials and auto-generated callback URLs
Payment Methods — Click with icon, Active state
eCommerce checkout — Click appears as payment option
QR code page — scan on desktop or tap button on mobile
How the Payment Flow Works
at checkout
my.click.uz
Prepare (action=0)
merchant_prepare_id
pays in app
Complete (action=1)
✅ Done
Configuration Guide
Go to Accounting → Configuration → Currencies. Find UZS and set it to Active. This is required for Click payments to work correctly.
Go to Apps → Update Apps List. Search for "Click Payment Gateway" and click Install.
Go to Invoicing → Configuration → Payment Providers → open Click. Fill in the Credentials tab:
Click Merchant ID → your_merchant_id
Click Secret Key → your_secret_key
Click Merchant User ID → your_user_id (optional)
Copy the auto-generated Prepare URL and Complete URL — you will need them in the next step.
Go to merchant.click.uz → open your service → click the pencil icon:
To'liq URL (Natija manzili) → https://yourdomain.com/payment/click/complete
Save and ask Click support to activate your service.
Back in Odoo, set the provider State to Test Mode first to verify the integration. Once confirmed, switch to Enabled. Click will now appear at checkout.
Requirements & Important Notes
Click's SHOP-API requires your Odoo server to have a valid SSL certificate and be accessible via HTTPS. HTTP is not supported.
Your server must be publicly reachable from the internet. Click servers need to reach your /payment/click/prepare and /payment/click/complete endpoints. A static IP is required — inform Click support of your IP and port if outside TAS-IX.
This module does NOT work on Odoo Online (odoo.com) or Odoo SaaS because Click needs to reach your server's callback URLs directly.
Click SHOP-API Error Codes
| Code | Meaning | Action |
|---|---|---|
| 0 | Success | Transaction proceeds normally |
| -1 | SIGN CHECK FAILED | Check your Secret Key — signature mismatch |
| -2 | Incorrect amount | Amount in callback doesn't match the order |
| -4 | Already paid | Transaction was already completed |
| -5 | Order not found | merchant_trans_id doesn't match any order |
| -6 | Transaction not found | Complete received before Prepare |
| -9 | Transaction cancelled | User cancelled or Click rejected |
Technical Details
payment, website_sale
/payment/click/prepare, /payment/click/complete
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