Karauti API documentation
/
Sign in

WooCommerce plugin

Karauti for WooCommerce connects a WordPress shop to your Karauti account. A customer picks a top-up, types their player ID, pays, and the order completes by itself once Karauti delivers. It uses the same API described in these docs, so you never write a request yourself.

Karauti for WooCommerce

By Karauti · Free · GPL

Player ID fields on your product pages, orders sent to Karauti the moment they are paid, and completed by themselves when delivered.

Download v0.2.1 ✓ Signed release
Version
0.2.1
WordPress
6.4+
Tested up to
7.1
PHP
7.4+
Released
21 Nov 2026
Size
34 KB

Needs WooCommerce. Signed in, the same download is under Console → API → WooCommerce Plugin, with your merchant ID ready to copy.

Install

1. Upload the plugin

In WordPress go to Plugins → Add New → Upload Plugin, choose the zip you downloaded, press Install Now, then Activate.

WordPress Add Plugins screen with karauti-for-woocommerce-0.2.0.zip chosen and the Install Now button
Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.

2. Connect your Karauti account

Open WooCommerce → Karauti. Enter your merchant ID and API secret. The secret starts with sk_live_; the ak_live_ value beside it is the key ID and will not work. Copy the Webhook URL shown there, save it on Console → Webhook, and paste the signing secret it gives you (whsec_) back into the plugin. Then press Test connection; it also warns if your server clock is off.

Plugin settings: connected notice, merchant ID, masked API secret and webhook secret, webhook URL, when to send orders, nickname check
Saved secrets are shown masked. Press Change to replace one. Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.

3. Map your products

Edit a product. In the General tab choose its Karauti product and set your own selling price; the product becomes virtual (nothing to ship). Optionally set Nickname check game (for example ff) to show a Check name button.

Edit product, General tab: price Rs 40, Karauti product 25 Diamonds — UNIFF25, nickname check game ff
Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.

Selling several packs as one variable product? Leave the product-level field empty and choose a Karauti product on each variation instead.

Variable product with two variations, 50 Diamonds mapped to UNIFF50 and 25 Diamonds mapped to UNIFF25
Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.

4. What your customer sees

The product page asks for the player ID (and the server, when the game needs one). With the nickname check turned on, Check name shows the player's name before they pay.

Shop product page: Player ID field with a Check name button and the player's name confirmed in green, then Add to cart
Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.

How an order runs

  1. The product page asks for the player ID, and the server when the game needs one. With Nickname check turned on in the plugin settings (it is off by default, with a limit of checks per hour for the whole shop) and Nickname check game set on the product (a code from /v1/lookup/games, such as ff), a Check name button shows the player's name before they pay. Each uncached check uses your nickname checker quota.
  2. When the order reaches Processing (paid), the plugin places one Karauti order per unit. Quantity 3 is three orders, numbered like wc1042-77-1.
  3. The result arrives on the webhook. If the webhook cannot reach your site, the plugin asks for the status on its own, from two minutes after the order.
  4. All delivered: the order moves to Completed, and the customer sees the reference (and the code, for a gift card) on their order page and email. Any failure: the order goes On hold with the reason in the order notes.
Manual payments

Take bank transfer, eSewa or wallet screenshots and confirm them by hand? Set Send to Karauti when order is to Completed, so nothing is bought before you have checked the payment. Cash on delivery also lands on Processing, so do not offer it for top-ups.

Delivered and failed orders

The order screen has a Karauti box listing every unit with its status, and every step is written to the order notes. The customer sees the player ID and the reference on the order itself.

Delivered order: item shows Player ID and Reference, Karauti box shows Delivered, order notes show In progress then Delivered then Completed
Screen from a test WordPress shop. Merchant ID, secrets, player IDs and order numbers are examples.
ButtonWhen
CheckAsk Karauti for the latest status now.
Re-runNothing was delivered and it is safe to try again: the supplier refused, or your wallet or supplier balance was short. Top up first. Same as rehit.
Send againKarauti refused the order before buying anything (for example an unknown product).
Send nowA unit was never sent, for example because the keys were missing at the time.

A wrong player ID cannot be re-run. Refund it and take a new order with the right ID.

Updates

New versions appear on your normal WordPress Updates screen. The plugin checks https://karauti.com/plugins/woocommerce/info.json twice a day; that check sends nothing about your shop. Every release is signed, and the plugin refuses to install an update whose signature does not match, even one served from karauti.com.

Common problems

MessageFix
Authentication failedCheck the merchant ID, that the secret is the current one (rotating it ends the old one), and, if you set an IP allowlist, that your hosting server's IP is on it.
Timestamp outside the accepted windowYour server clock is more than five minutes out. Ask your host to turn on time sync (NTP).
Orders stay In progressYour site is not getting webhooks (often a firewall or a site on http://). The plugin still completes them by polling; save the webhook to make it instant.
Insufficient balanceTop up your Karauti balance, then press Re-run.