GamerHub for WooCommerce
·
Sell game top-ups & vouchers through GamerHub. Orders auto-fulfil on payment and sync status back via a signed webhook.
Connects a WooCommerce store to the GamerHub merchant API and turns it into a fully automated game top-up / voucher shop.
- One-click catalog sync 鈥?every active GamerHub product becomes a WooCommerce product (variable product with one variation per denomination), priced at your cost + a markup you set.
- Player ID / Server fields on the product page, generated automatically from the game’s schema, with an optional live “Verify ID” check before purchase.
- Automatic fulfilment 鈥?when a WooCommerce order is paid, each unit is submitted to GamerHub server-side over an HMAC-signed request. One supplier order per unit, so every supplier and every quantity works.
- Signed status webhook 鈥?the order flips to Completed once GamerHub confirms delivery; voucher codes are attached to the order and emailed to the customer.
- Manual linking 鈥?hand-build any product (your own name / price / image) and link it to a GamerHub denomination.
- Auto-sync (optional) 鈥?refresh prices & stock hourly or daily in the background.
- HPOS compatible.
This plugin is an official client for the GamerHub merchant platform. A GamerHub merchant account is required.
External services
This plugin connects to the GamerHub merchant API (https://portal.gamerhubstore.shop) 鈥?the service it exists to integrate with. It communicates with that API in three situations:
- Catalog sync / price refresh 鈥?sends your API key (in signed request headers) and requests the product list and per-product prices. No customer data is sent.
- Order fulfilment 鈥?when a WooCommerce order is paid, the plugin sends the product code, SKU code, a unique order reference (
out_trade_no), the buyer-entered game fields (e.g. Player ID / Server), and your store’s webhook callback URL, so GamerHub can fulfil the order and notify you of the result. - Verify ID (optional) 鈥?if you enable the “Verify ID” button, the game fields the buyer types are sent to GamerHub to check the account exists before purchase.
- Account & order status 鈥?the plugin queries your GamerHub account balance/currency (connection test and before pricing) and polls an order’s status by reference. These send only your API key and the order reference (
out_trade_no); no customer data is sent.
The buyer-entered game fields (such as a Player ID) are personal data that leaves your site and is sent to GamerHub as a necessary part of delivering the ordered top-up.
- Terms of Service: https://portal.gamerhubstore.shop/terms
- Privacy Policy: https://portal.gamerhubstore.shop/privacy
No data is sent to any other third party.
Requirements
- A public HTTPS site (the status webhook is delivered to
/wp-json/gamerhub/v1/callback). - Server clock synced (NTP) 鈥?requests are signed with a 卤5-minute window.
- A GamerHub merchant account with sufficient balance.