Title: Primer Pay
Author: primersystems
Published: <strong>2026 年 5 月 6 日</strong>
Last modified: 2026 年 5 月 6 日

---

搜尋外掛

![](https://ps.w.org/primer-pay/assets/banner-772x250.png?rev=3524579)

![](https://ps.w.org/primer-pay/assets/icon-256x256.png?rev=3524596)

# Primer Pay

 由 [primersystems](https://profiles.wordpress.org/primersystems/) 開發

[下載](https://downloads.wordpress.org/plugin/primer-pay.0.3.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/primer-pay/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/primer-pay/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/primer-pay/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/primer-pay/#developers)

 [技術支援](https://wordpress.org/support/plugin/primer-pay/)

## 外掛說明

Primer Pay lets you put any post or page behind a micropayment wall using the x402
protocol. Visitors with the Primer Pay browser extension pay seamlessly and see 
your content instantly. No user accounts, no subscriptions, no payment forms.

**How it works:**

 1. You enter your wallet address in Settings > Primer Pay.
 2. You check “Enable x402 Paywall” on any post and set a price (e.g., $0.01 USDC).
 3. Visitors with the Primer Pay Chrome extension pay automatically and see your content.
 4. Visitors without the extension see a teaser and a prompt to install Primer Pay.
 5. Payments settle on Base (Ethereum L2) via USDC — low fees, instant finality.

**Features:**

 * Gutenberg Content Gate block — visual divider between free teaser and paid content
   with inline settings
 * Classic editor support — `[primer_pay_x402]` shortcode plus sidebar meta box
 * Per-post price override (defaults to your site-wide price)
 * Per-post wallet override — route payments to a different wallet per post (multi-
   author support)
 * Multi-network: accept payments on Base, SKALE Base, or both — with configurable
   priority
 * Theme-matching paywall banner — inherits your site’s fonts, colors, and border
   radius
 * Configurable access duration: 30 minutes to “never expires”
 * `.well-known/x402` discovery endpoint — JSON index for AI agents and crawlers
   to find purchasable content
 * Works with any theme that renders the_content() normally
 * No user accounts or login required
 * Non-custodial — payments go directly to your wallet

**Requirements:**

 * A wallet address on Base or SKALE Base (e.g., from MetaMask, Coinbase Wallet,
   or Primer Pay itself — same address works on all supported networks)
 * HTTPS recommended (cookies are marked Secure on HTTPS; HTTP still works for local
   dev)

### External services

This plugin relies on the Primer x402 facilitator service to verify and settle payments.
When a visitor attempts to pay for content, the plugin sends the signed payment 
authorization to the facilitator, which validates the signature and executes the
on-chain USDC transfer on the Base network.

 * Service: Primer x402 Facilitator
 * Endpoint: https://x402.primer.systems/settle
 * When: Whenever a visitor submits a valid X-PAYMENT header to the plugin’s unlock
   endpoint
 * Data sent: The base64-encoded signed payment authorization (EIP-712 typed data)
   from the visitor, plus the payment requirements (amount, asset address, recipient
   wallet address, network). No personally identifiable information about the visitor
   is sent — the only identifier is the wallet address they signed with.
 * Terms of service: https://primer.systems
 * Privacy policy: https://primer.systems

This is the standard x402 protocol flow. If you prefer to run your own facilitator,
you can configure a custom facilitator URL in the plugin settings.

## 螢幕擷圖

 * [[
 * Settings page — configure your wallet address, default price, access duration,
   and accepted networks.
 * [[
 * Adding the Content Gate block — search for “Primer Pay” in the Gutenberg block
   inserter.
 * [[
 * Content Gate in the editor — the block splits free teaser (above) from paid content(
   below), with per-post settings in the sidebar.
 * [[
 * Front-end paywall banner — visitors without the extension see the price and a
   link to get started.

## 適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   Primer Pay Content Gate

## 安裝方式

**From WordPress.org (recommended):**

 1. In your WordPress admin, go to Plugins > Add New.
 2. Search for “Primer Pay”.
 3. Click Install Now, then Activate.

**Manual upload:**

 1. Download the plugin zip file.
 2. In your WordPress admin, go to Plugins > Add New > Upload Plugin.
 3. Select the zip file and click Install Now, then Activate.

**Setup:**

 1. Go to Settings > Primer Pay and enter your wallet address.
 2. Edit any post, check “Enable x402 Paywall” in the Primer Pay sidebar box, and publish.

## 常見問題集

### What is x402?

x402 is a protocol for web payments using HTTP status code 402 (Payment Required).
When a server returns 402, the Primer Pay browser extension automatically handles
the payment and retries the request.

### Do my visitors need crypto?

Visitors need the Primer Pay browser extension with a small USDC balance. The extension
manages a simple wallet — no MetaMask or crypto experience required.

### What are the fees?

Primer does not charge fees. Base network gas fees are typically less than $0.001
per transaction.

### What happens if a visitor doesn’t have the extension?

They see a free teaser of your content plus a styled banner explaining the price
and linking to the Primer Pay extension.

### Is this custodial?

No. Payments go directly from the visitor’s extension wallet to your wallet address.
Primer never holds funds.

## 使用者評論

![](https://secure.gravatar.com/avatar/7cc529ffc9823ef61a76b7987780b6c5e1d53ae3ef768e8fc51781e9115cf17f?
s=60&d=retro&r=g)

### 󠀁[Perfect for true pay per content](https://wordpress.org/support/topic/perfect-for-true-pay-per-content/)󠁿

 [noanoanoa9](https://profiles.wordpress.org/noanoanoa9/) 2026 年 5 月 6 日

Primer pay is an innovative and niche plugin with a compelling concept – micropayments
without subscriptions. Perfect for true pay per content and no personal data collection.
Definitely worth experimenting with and the Primer Pay browser extension is simple
to use, especially if you’re already familiar with browser extensions such as metamask
etc.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/primer-pay/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Primer Pay〉的開發相關工作。

參與者

 *   [ primersystems ](https://profiles.wordpress.org/primersystems/)

[將〈Primer Pay〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/primer-pay)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/primer-pay/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/primer-pay/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/primer-pay/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/primer-pay/)。

## 變更記錄

#### 0.3.1

 * Fixed: Paywall banner now correctly hidden when no wallet is configured (was 
   showing unstyled)

#### 0.3.0

 * Gutenberg block: “Primer Pay Content Gate” — visual editor block for splitting
   free and paid content
 * Theme-matching paywall banner: inherits site fonts, colors, and border radius
   via CSS custom properties
 * Per-post wallet override: route payments to a different wallet per post
 * .well-known/x402 discovery endpoint: JSON index for AI agents and crawlers

#### 0.2.1

 * Removed front-end “Powered by x402” attribution (guideline 10 compliance)

#### 0.2.0

 * Multi-network support: Base and SKALE Base
 * Network selection UI with preferred network
 * Automatic USDC contract lookup per network

#### 0.1.0

 * Initial release
 * Global settings: wallet address, default price, facilitator URL, access duration
 * Per-post paywall toggle with price and access-duration overrides
 * [primer_pay_x402] shortcode for teaser/content splitting (registered so the marker
   never appears in output)
 * REST unlock endpoint at /wp-json/primer-pay/v1/unlock/<post_id>
 * HMAC-signed session cookies so refreshing doesn’t re-charge readers
 * Archive-safe teaser rendering (no content leaks on blog index, categories, feeds,
   excerpts)
 * Non-extension visitor fallback with install CTA
 * Declined-payment handling with retry button

## 中繼資料

 *  版本 **0.3.1**
 *  最後更新 **2 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/primer-pay/)
 * 標籤:
 * [micropayments](https://tw.wordpress.org/plugins/tags/micropayments/)[monetization](https://tw.wordpress.org/plugins/tags/monetization/)
   [paywall](https://tw.wordpress.org/plugins/tags/paywall/)[usdc](https://tw.wordpress.org/plugins/tags/usdc/)
   [x402](https://tw.wordpress.org/plugins/tags/x402/)
 *  [進階檢視](https://tw.wordpress.org/plugins/primer-pay/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/primer-pay/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/primer-pay/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/primer-pay/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/primer-pay/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/primer-pay/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/primer-pay/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/primer-pay/reviews/)

## 參與者

 *   [ primersystems ](https://profiles.wordpress.org/primersystems/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/primer-pay/)