Spark Program | Fiber Network Payment Gateway for WooCommerce

Spark Program Proposal: Fiber Network Payment Gateway for WooCommerce

Category: Pure Tech (single category) Requested funding: $1,000 Timeline: 4 weeks Tags: Spark-Program, fiber, ckb, payments


1. Summary

A WooCommerce payment gateway plugin that lets any of WooCommerce’s millions of existing online stores accept Fiber Network (CKB) payments at checkout — install it like any other payment plugin, no custom code, no separate app.

Today, accepting Fiber payments requires embedding a React component or running custom infrastructure. That’s fine for a developer building a new app from scratch, but it locks out the huge existing base of non-technical merchants already running a store on WordPress/WooCommerce. This plugin closes that gap.


2. Problem

  • WooCommerce powers a very large share of self-hosted e-commerce stores worldwide — it’s one of the most common ways small and mid-size merchants actually run a shop.

  • Existing Fiber payment tooling (a React checkout component, a hardware POS terminal, a forum tipping plugin) all assume the merchant is a developer building something custom.

  • There is currently no plug-and-play way for an existing WooCommerce store to add “Pay with Fiber” as a checkout option the way they’d add PayPal or Stripe.

  • This means real-world merchant adoption of Fiber for payments is bottlenecked on custom development, not on Fiber’s actual capability.


3. What I’ll build

A standard WooCommerce payment gateway plugin (PHP, following WooCommerce’s official Payment Gateway API) that:

  1. Adds “Pay with Fiber” as a checkout option alongside existing payment methods.

  2. On order placement, generates a Fiber invoice for the exact order total (via a configured Fiber node/RPC endpoint) and displays it to the customer (QR code + copyable invoice string).

  3. Listens for payment confirmation (via Fiber node webhook/polling) and automatically marks the WooCommerce order as “Paid” / “Processing” once the invoice is settled.

  4. Provides a simple settings screen for the merchant to connect their own Fiber node (node URL + credentials), so funds go directly to the merchant — no custodial middleman.

  5. Handles the basic edge cases a real store needs: expired invoices, underpayment, order cancellation.

Explicitly out of scope for this grant (to keep it a properly-sized prototype, not an open-ended platform): multi-currency conversion, Shopify support, refund automation, subscription/recurring billing. These are natural follow-ups, not part of this deliverable.


4. Technical approach

  • Built as a standard WooCommerce extension using the WC_Payment_Gateway base class — the same pattern every existing WooCommerce payment plugin (Stripe, PayPal, etc.) follows, so it’s a well-understood integration surface, not a novel architecture.

  • Communicates with a Fiber node over its existing RPC interface to create and check invoices — no changes needed to Fiber itself.

  • Merchant runs their own Fiber node (or points to one they trust); the plugin is a thin, non-custodial bridge between WooCommerce’s order system and that node.


5. Milestones and budget breakdown

Total requested: $1,000, paid per Spark’s standard structure (20% upfront, 80% on delivery). Below is the milestone breakdown so progress is easy to check against, followed by the two actual payment events.

M0 — Kickoff (paid: $200, 20% upfront on approval). Grant approved, funds released to begin work.

M1 — Core plugin skeleton (Week 1, tracked but not separately paid). The WooCommerce gateway plugin registers correctly, appears as a checkout option, connects to a configured Fiber node’s RPC, and can create a test invoice.

M2 — Payment flow (Weeks 2–3, tracked but not separately paid). The invoice is displayed to the customer (QR code + copyable string), the order status updates automatically once the Fiber node confirms payment, and expired/underpaid edge cases are handled.

M3 — Testing, docs, and demo (Week 4, paid: $800, 80% on completion). End-to-end test on a real WooCommerce staging store with a real Fiber testnet payment; merchant setup guide written; demo video recorded; public repo published.

(Spark’s standard payout structure is 20% upfront / 80% on completion rather than per-milestone, so M1 and M2 are tracked as internal progress checkpoints, while M0 and M3 are the two actual payment events.)

What the $1,000 covers: this is a solo/small-scope build, so the budget is essentially covering focused development time over the 4 weeks (plugin development, Fiber node integration and testing, staging store setup, documentation, and demo recording) rather than separate line items for infrastructure — a WooCommerce staging site and a Fiber testnet node are both free to run.


6. How to Verify

  • Public GitHub repo containing the plugin code, installable on any WordPress/WooCommerce install.

  • A recorded demo: a test WooCommerce store, a customer selecting “Pay with Fiber” at checkout, paying a real Fiber testnet invoice, and the order automatically flipping to “Paid.”

  • A written merchant setup guide in the repo README (how to connect your Fiber node, configure the plugin) so a reviewer can independently install and test it without asking me anything.


7. Why this fills a real gap

  • Existing Fiber payment tooling targets developers building custom apps or hardware, not the very large existing base of non-technical WooCommerce merchants.

  • A search across the Nervos ecosystem forum, biweekly updates, and general web turned up no existing CKB/Fiber-specific WooCommerce or Shopify integration — everything in that space is generic (no crypto payment angle at all).

  • It doesn’t compete with any team’s stated roadmap in the biweekly ecosystem updates.

  • It’s a small, well-scoped, easily verifiable deliverable that fits squarely in the Spark Program’s “pure tech, proof-of-concept” mold.

4 Likes

Hi @Oracle,

Thank you for your interest in the Spark Program.

The committee has completed its review and, after careful discussion, regrets to Reject the Fiber Network Payment Gateway for WooCommerce proposal at this time.

We want to be transparent about the reasoning behind this decision:

  1. Platform compliance uncertainty:
    We have encountered situations where projects in the ecosystem ultimately could not be listed on platforms like Shopify due to policy and compliance requirements. Similarly, a WooCommerce payment plugin must pass review by the WooCommerce official marketplace, and that review may impose requirements that are currently outside the project’s scope. This can result in the plugin never being distributed to the target users.

  2. Ecosystem readiness and value circulation concerns:
    While we recognize the technical merit of your proposal, the committee has observed a large number of Fiber‑based payment and exchange projects that focus on value circulation without concrete value creation. We prefer to see more production‑side and consumption‑side applications built on Fiber. At this stage, a payment gateway for WooCommerce risks becoming another “empty circulation” tool without a critical mass of merchants and consumers actively using Fiber.

We appreciate the work your team has put into this project. If you plan to participate directly in the Fiber ecosystem in the future by developing projects for both the production and consumer sides, we welcome you to submit a new application.

Keep building, and feel free to reach out anytime!

Best,
xingtian
On behalf of the Spark Program Committee