Stage 8: Wen Counter for Shopsplugin + skill
- 0 · Roadmap
- 1 · Receipts & warranty
- 2 · Creator royalties
- 3 · B2B invoices
- 4 · Payments bridge
- 5 · Simulator
- 6 · Devnet: repeat it
- 7 · Counter
- 7.1 · Safety
- ✓ · Trust chain
- ★ · Benefits & use
- ✎ · Ten walkthroughs
- ▶ · Videos
- ? · Reader findings
- 8 · Shops: plugin & skill

We went the other way round. First came the long work: six Token-2022 models, the payments bridge, the cost simulator, the receive-only till with 57 open checks, translations into four languages. Only then the short part: a WooCommerce plugin and a skill that an AI assistant can follow to put the same checkout into a real shop. Free, forever: no fee, no subscription, nobody in the middle.
Where shops live
Before building, we checked which platforms shops actually run on. WooCommerce and Shopify are far ahead of everyone else, so the first plugin is for WooCommerce, the most installed one, and the skill covers the rest with links, buttons and the hosted till.
| Platform | Share of the measurable web, May 2026 | What we give it |
|---|---|---|
| WooCommerce | 6.64% | the Wen Counter Pay plugin |
| Shopify | 4.76% | payment link or QR on the order page, hosted till |
| Wix eCommerce | 1.48% | HTML button or link to the hosted till |
| Squarespace Commerce | 1.12% | HTML button or link to the hosted till |
Shares: HTTP Archive data, analysed in July 2026 source. Other Solana Pay options already exist, an open WooCommerce plugin source and a Shopify app with a 0.75% fee source; ours adds no fee and publishes every check.
The WooCommerce plugin: Wen Counter Pay
- The buyer places the order and chooses Pay with Solana Pay, in the classic checkout or the Checkout block.
- The order gets a fresh reference key and a Solana Pay link: the shop's address, the amount in USDC or another token, and
order:<number>as memo. - The buyer pays from their own wallet by QR or the Open in wallet button.
- The shop server reads the chain (three read methods only) and runs the five-point check: reference, recipient, token, amount, success. Then the order is paid. One transaction pays one order.
- Closed the tab? A background check every five minutes finishes the job for 24 hours.
Download the plugin (.zip) · read the code guide · installation steps
The skill: an AI assistant that installs it the safe way
A skill is a short instruction file, SKILL.md, that assistants such as Claude Code, Codex, Cursor or Copilot can load. Ours tells the assistant to audit the shop first, pick the right path, paste only the public receiving address, test on devnet, verify the build and report back. It also tells the assistant what never to do: ask for a seed phrase, connect a wallet, or switch to mainnet without the owner.
Open SKILL.md · shop audit checklist · security review · sources and foundations
One command installs it for many assistants: npx skills add wen-watt/wen-watt.github.io source.
What was tested
| Group | Checks | What it proves |
|---|---|---|
| Core parity | 12 | the PHP core gives the same answers as the JavaScript Wen Counter core, on fixtures built from it |
| Gateway flow | 22 | settings refuse bad input, an order gets its link, paid, underpaid, wrong token, failed and foreign transactions, one transaction per order, the status endpoint and the background check |
| Usability | 5 | a stray transaction with the same reference does not block the order, paying again keeps the same QR, no auto-cancel within 24 hours, the payment email, the wallet-app hint |
| Code safety | 14 | no keys, no signing, read-only RPC, local scripts only, escaped output, attribution kept |
| Browser | 6 | the QR is drawn, the status is polled, a foreign link is ignored |
All 59 checks pass, and the 57 checks of the Wen Counter itself still pass. Run them yourself: the commands are in the plugin guide.
Honest limits
- The buyer needs a Solana wallet with funds. No code removes that.
- One receiving address per shop in the plugin; several wallets per department live in the in-person till.
- Refunds are new payments from the owner's wallet; there are no chargebacks.
- Shopify, Wix and Squarespace orders are not marked paid automatically yet; the skill says so to the owner.
- Example code, not audited. Devnet first. The shop owner is responsible for the shop, receipts and taxes.
An alternative way to take payments
Wen Counter Pay does not replace cards or other processors. It adds a different model next to them: the money goes straight to the shop's own wallet, and the shop checks the payment itself on the public chain.
| Card or payment processor | Hosted crypto app | Wen Counter Pay | |
|---|---|---|---|
| Who holds the money in between | the processor | the processor or app | nobody |
| Fee taken in the middle | yes | usually a percentage | none, only the network fee paid by the buyer |
| Who confirms the payment | the provider | the provider | the shop's own server, with open checks |
| Chargebacks | yes | depends | no; refunds are new payments |
| What the buyer needs | a card | a wallet or an exchange account | a Solana wallet app |
Keep the shop's other payment methods next to this one for buyers without a Solana wallet.
Usability audit: walking the flows as people do
We walked every step as the buyer, the shop owner, the AI assistant and the seller at a counter see it, and found 13 places where people could get stuck. Version 0.2.0 acts on the five that mattered most, with five new checks:
- a stray transaction carrying the order's reference no longer blocks the order;
- WooCommerce no longer cancels an unpaid order after one hour: it stays open for 24 hours;
- the buyer gets an email with the link back to the payment page;
- paying again for the same order keeps the same QR code;
- the checkout and the order page say to pay from a wallet app, because an exchange withdrawal cannot be matched to an order.
The other findings are written down as honest limits with advice for the owner. Read the full audit.
Written up twice: for developers on dev.to article, and for shop owners on Hashnode article.
Where Wen fits in this model
WEN is one of the tokens a shop can accept, next to USDC, SOL and JUP. The heart of the stage is the same as the whole Lab: open rails anyone can check and use for free, with the Wen chain named in every copy.
The Wen thread: one contract, everywhere
Every model in the Lab is free and open, and every one carries the same signature: the $WEN token contract. Copy it, repeat it in your own docs, and always verify it against an explorer before use.
WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk
Open use policy
- Free and open. All Lab code is released under the Apache License 2.0, the same license as the Wen Program Library. Use it, change it, ship it, commercially or not; keep the license notice.
- Open tools only. Built on public, documented tools: Solana SPL Token-2022 (Token Extensions), the token layout of the Wen New Standard (WNS), Solana Pay, and LiteSVM for local testing.
- The rule: always verify your own model. Run the tests, start on devnet, read the official documentation, review every account and amount, and get an independent audit before any mainnet use. A model that is not checked is not a model, it is a guess.
- Not audited, not advice. These are educational examples. They are not financial, legal or tax advice, and not a licensed payment or banking product. Payments, stablecoins and acquiring are regulated activities in most countries.
- Security. Never paste a private key into a website. Do not install the npm package
@wen-community/wen-new-standard: npm removed it as malicious. Build from official sources.
Spoken by Wen, for the community. More in our editorial and data policy.
Wen Open Lab · roadmap · Wen Counter · safety