Over 200 add-ons available under a single subscription for $40 per month!

Payment via HUMO and UZCARD

Module for Uzbekistan payment systems HUMO and UZCARD
Please enter a valid addres(es) of the shop where you are going to use the add-on.
By subscription 60 000 
Latest module version Updated:
Have questions about the module? Write to us: HelpDesk

Payment via HUMO and UZCARD

This add-on is part of our Subscription plan.

Subscribe once — enjoy all add-ons without limits.

Payment via HUMO and UZCARD adds card payments for Uzbekistan payment systems to CS-Cart. The customer enters card details, confirms the operation with an SMS code, and the store receives a managed payment flow with authorization hold, capture confirmation, and refund from the order page.

What it is for

The add-on is designed for stores that sell in Uzbekistan or accept payments from HUMO and UZCARD cardholders. It connects a local payment gateway to the standard CS-Cart checkout and lets the administrator manage the main payment stages from the store back office.

Key features

[+] Adds the “HUMO and UZCARD” payment processor for CS-Cart payment methods.

[+] Supports test and production gateway modes.

[+] Uses terminal ID, merchant number, login, and password issued by the payment provider.

[+] Checks terminal registration and can start terminal registration from the payment method settings.

[+] Sends SMS verification to the customer and accepts the code on a dedicated payment page.

[+] Reserves the order amount on the customer card using a hold flow.

[+] Lets the administrator choose the paid order status and the status that triggers capture from hold.

[+] Adds a refund button to the order page when the payment has an active hold.

[+] Writes request and response logs in test mode for diagnostics.

How it works

The administrator creates a payment method based on the HUMO and UZCARD processor, enters terminal credentials, and selects order statuses. During checkout, the add-on sends card data to the gateway, receives a card token, shows the SMS code form to the customer, and creates a hold for the order amount after successful verification.

When the order is moved to the selected confirmation status, the add-on sends a capture request for the hold. If the payment needs to be cancelled before capture, the administrator can run a refund from the order page — the add-on dismisses the hold and records the action in the order log.

Have questions about the add-on?

Write to us.


Product:
  • Store Builder
  • Store Builder Ultimate
  • Multi-Vendor
  • Multi-Vendor Plus
  • Multi-Vendor Ultimate
Recipient:
  • Buyers
  • Owners
  • Vendors
Development
:
  • Frontend
Localization:
  • English
  • Русский
Compatible versions:
  • 4.18.X
  • 4.17.X
  • 4.16.X
  • 4.15.X
  • 4.14.X
  • 4.13.X
  • 4.12.X

Instructions for Payment via HUMO and UZCARD

What the add-on does

The add-on adds the “HUMO and UZCARD” payment processor to CS-Cart for accepting cards of Uzbekistan payment systems. Payments are sent to the QRPay JSON-RPC gateway: test mode uses http://testagent.qrpay.uz/api/jsonrpc, production mode uses https://agent.qrpay.uz/api/jsonrpc.

The payment flow is based on a hold. After SMS confirmation, the order amount is reserved on the customer card; the final capture is performed when the order is moved to the configured confirmation status.

Where to find the add-on

The mode setting is located in the add-on card: Add-ons → Manage add-ons → Payment via HUMO and UZCARD. The “General” section contains the Test Mode option.

Gateway credentials are configured in the payment method: Administration → Payment methods, processor HUMO and UZCARD. Use the “Gateway settings” block to enter terminal data and order statuses.

Add-on settings

Test Mode — when enabled, the add-on sends requests to the test gateway URL and writes additional request/response logs. When disabled, it uses the production QRPay URL.

Payment method settings

Login and Password — credentials used for Basic Auth when the add-on calls the gateway.

Terminal ID — terminal identifier issued by the payment provider.

Merchant number — merchant ID of the store in the payment system.

Terminal name and Port — technical terminal registration parameters. They are hidden in the interface and are filled with a random value by default if no saved value exists.

Paid order status — the status assigned to the order after successful SMS verification and hold creation.

Confirmed order status — the status that triggers capture from the hold.

Terminal status — terminal check result returned by the gateway. If the terminal is not registered, the add-on shows the registration button.

Terminal registration and check

After login, password, terminal ID, and merchant number are filled in, the add-on automatically checks the terminal with the terminal.check request. If the gateway confirms it, the status field shows “Registered”.

If the terminal is not found, the “Register” button becomes available. It sends terminal.add with terminal, merchant, port, and terminal name data.

Payment flow

The customer selects the HUMO and UZCARD payment method and enters card details. The add-on sends a card tokenization request and starts SMS verification.

After the SMS code is entered, the add-on verifies the code through the gateway. On success, it checks the card balance by token, compares it with the order total, and creates a hold for the order amount. The amount is sent in tiyin — the add-on multiplies the order total by 100.

If the hold is created successfully, the order receives the configured paid order status, and the hold ID is saved in the payment method parameters.

Capture confirmation

When the order is moved to the status selected in “Confirmed order status”, the add-on sends hold.dismiss.charge. After a successful response, the hold is removed from payment parameters and the funds are considered captured.

Refunds

If the payment has an active hold, the order page shows the “Return funds to the client” button. After confirmation, the add-on sends hold.dismiss, removes the hold from payment parameters, changes the order to the cancelled status, and adds a record to the order log.

The code does not implement a separate refund flow for already captured payments. The button works with an active hold before capture.

Webhook and callback

The add-on does not provide a configurable external webhook from the payment system. The callback is used inside CS-Cart for the SMS code page: the customer submits the code to a payment_notification.frame URL, and CS-Cart then completes order placement.

Receipts and fiscalization

The add-on code has no dedicated settings for fiscal receipts, 54-FZ, or DigitalKassa. If the store needs receipts, use a separate CS-Cart fiscalization integration and check the payment provider requirements.

Logs and diagnostics

On gateway errors, the add-on writes data to app/addons/ms_humo_uzcard/Tygh/Addons/MsHumoUzcard/logs/error_log.txt. In test mode, it also writes resp_req_log.txt with requests and responses.

If payment fails, check the mode, login, password, terminal ID, merchant number, terminal registration status, and the gateway response in the log.

How to check the result

Enable test mode, fill in the payment method credentials, and make sure the terminal status becomes “Registered”.

Create a test order and pay it with HUMO and UZCARD. Check that the SMS code form is displayed, the order receives the selected paid order status after a successful code entry, and the payment data stores the transaction/hold ID.

Move the order to the confirmation status and make sure the add-on captures the hold. To test cancellation, create another order with an active hold and use “Return funds to the client” before capture.

Change history

v1.3.6 from 2023-08-03

[*] Replaced short <? tags with standard <?php tags

v1.3.5 from 2023-02-07

[*] Standardized the add-on code

v1.3.4 from 2021-12-03

[!] Fixed bugs

v1.0.3 from 2021-04-13

[+] Initial release

Legend:

[+] Added

[-] Removed

[*] Changed

[!] Bug fix

Reviews

Here you can share your opinion and evaluate our work.

Your feedback helps us become better and offer you even better service.

Similar add-ons