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.
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.
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.
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.
Selling several packs as one variable product? Leave the product-level field empty and choose a Karauti product on each variation instead.
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.
How an order runs
- 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. - When the order reaches Processing (paid), the plugin places one Karauti order per
unit. Quantity 3 is three orders, numbered like
wc1042-77-1. - 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.
- 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.
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.
| Button | When |
|---|---|
| Check | Ask Karauti for the latest status now. |
| Re-run | Nothing 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 again | Karauti refused the order before buying anything (for example an unknown product). |
| Send now | A 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
| Message | Fix |
|---|---|
| Authentication failed | Check 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 window | Your server clock is more than five minutes out. Ask your host to turn on time sync (NTP). |
| Orders stay In progress | Your 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 balance | Top up your Karauti balance, then press Re-run. |
API documentation