For an online shop in Uzbekistan, accepting Click and Payme is close to essential, because many shoppers are used to paying by card through these apps. Connecting them to WooCommerce can look complicated, but once you understand the logic it breaks down into a few clear stages: preparation, how the payment system talks to your store, testing and avoiding common mistakes.
What you need before connecting
You sign a separate merchant agreement with Click and with Payme. This usually requires being registered as a legal entity or sole proprietor and having a bank account. Payment systems also review the site: products and prices, contact details, a public offer and delivery and return terms should be clearly published. Requirements change over time, so confirm the current list with the provider's manager or official documentation.
Technically, the store must run on its own domain over HTTPS and be reliably reachable, since the payment servers send requests to it. On sayt.uz hosting a free Let's Encrypt certificate renews automatically, which removes the risk of payments failing because a certificate expired.
How the payment system talks to your store
In both systems the shopper is redirected to a payment page while the provider calls a callback URL on your site to check the order and amount, then reports the result. The payment only completes, and the order status only changes, if the store answers correctly. Click uses two stages, Prepare and Complete, and every request carries a sign_string signature that the store recalculates with its secret key. For Prepare the check looks roughly like this (Complete adds one more field, so verify the exact order in the official docs):
$sign = md5(
$p['click_trans_id'] . $p['service_id'] . $secret_key .
$p['merchant_trans_id'] . $p['amount'] . $p['action'] . $p['sign_time']
);
if ( $sign !== $p['sign_string'] ) {
// signature mismatch: reject the request
}
Payme uses a JSON-RPC protocol called the Merchant API, calling methods such as CheckPerformTransaction, CreateTransaction, PerformTransaction and CancelTransaction with a Basic authorization header that the store validates. Amounts arrive in tiyin, so a 150,000 sum order appears as 15000000.
Setting it up in WooCommerce
You do not need to write these protocols yourself; WooCommerce payment modules exist. Get them only from a trusted source, such as the provider's official developer resources or a reputable developer, because a "free" module from an unknown site may contain malware. Settings then appear under WooCommerce → Settings → Payments.
- Click: service_id, merchant_id, merchant_user_id and secret_key from the Click merchant cabinet;
- Payme: the cashbox (merchant) ID plus test and production keys from the Payme business cabinet;
- Callback URL: the address shown by the module, entered in each provider's cabinet.
A flower delivery shop in Tashkent, for example, signs both agreements, copies the keys into WooCommerce and registers the callback URLs. Checkout then shows both methods, and each successful payment moves the order to Processing automatically.
Testing first
Payme offers a sandbox with a separate test key for checking every method and error case; for Click, follow its technical documentation and manager's guidance. You can also probe the callback from a terminal (the URL and account field depend on your module):
curl -X POST https://misol.uz/payme-callback \
-H "Content-Type: application/json" \
-u "Paycom:TEST_KEY" \
-d '{"id":1,"method":"CheckPerformTransaction","params":{"amount":15000000,"account":{"order_id":"1024"}}}'
The reply must be JSON. An HTML page, 403 or 500 means something on the site, such as a cache plugin, security plugin or server firewall, is blocking the request.
Common problems
The classic issue is a successful payment with the order stuck in Pending payment, usually because the callback was blocked. Exclude the callback URL from caching and make sure security rules allow the provider's servers. Amount mismatches caused by currency settings or shipping costs are the next most common. Fiscal receipts also matter: providers may ask for product codes such as MXIK (IKPU), and these rules change, so confirm them with the provider and your tax adviser. During the first weeks, reconcile each payment against WooCommerce orders and the provider's transaction list, and keep the module updated.