WP Simple Pay ドキュメント

WP Simple Pay のドキュメント、参考資料、チュートリアル

フォームテンプレートの使い方

読む時間: 4分 | 難易度: 初級

WordPress管理画面のフォームテンプレートページ。カテゴリフィルターとテンプレートグリッドが表示されています。

概要

フォームテンプレートは、新しい支払いフォームの事前構築された開始点です。空白のスレートからフォームを構築する代わりに、WP Simple Payに付属する80以上のテンプレートのいずれかを複製して、そこからカスタマイズできます。テンプレートは最も一般的なユースケース(定期的な寄付、サブスクリプションサービス、イベント登録、製品購入、資金調達ドライブ)をカバーしており、そのシナリオに適したフィールドタイプ、支払い方法、およびスタイルで事前設定されています。

フォームが一般的なパターンに似ている場合、テンプレートから始めることで、フォームごとに5〜15分節約でき、重要なフィールドを忘れる可能性(例:税金を徴収するフォームで金額の内訳フィールドを省略する)を減らすことができます。

前提条件

  • WP Simple Pay(どのティアでも — 多くのテンプレートはProが必要です)
  • Stripeに接続済み(Stripeの設定を参照)

ステップ 1: フォームテンプレートページを開く

WordPress管理メニューのWP Simple Pay > フォームテンプレートに移動します。ページには、利用可能なすべてのテンプレートのグリッドが表示され、それぞれにサムネイル、タイトル、短い説明があります。

ステップ 2: テンプレートを閲覧およびフィルタリングする

テンプレートはカテゴリ別に整理されているため、リストをすばやく絞り込むことができます。一般的なカテゴリには以下が含まれます:

  • 寄付フォーム — 1回限り、定期、カスタム金額、および資金調達テンプレート
  • サブスクリプションフォーム — サービスサブスクリプション、定期メンバーシップ、オプトイントライアル
  • イベント登録 — レースサインアップ、トーナメントエントリー、クラス登録
  • サービスベース — コーチング、クリーニング、造園、専門サービス
  • 支払いボタン — 単一メソッドボタン(Apple Pay、Google Pay、iDEALなど)
  • 地域固有 — SEPA、ACH、Bacs、Bancontact、Przelewy24、Klarna、Afterpay/Clearpay

ページ上部の検索ボックスを使用して、キーワードでフィルタリングします(例:donationsubscriptiontuition、またはKlarnaのような支払い方法名を入力します)。

現在のライセンスティアよりも高いライセンスティアを必要とするテンプレートは引き続き表示されますが、アップグレードプロンプトが表示されます。新着!とマークされたテンプレートは、最近のリリースで追加されたものです。

ステップ 3: テンプレートをプレビューする

Hover over a template card and click Preview to see what the resulting form will look like. The preview shows the full rendered form — title, description, fields, payment methods, and submit button — so you can decide whether the structure fits your needs before committing.

Step 4: Use a Template

When you’ve found the right template:

  1. Click Use Template on the template card.
  2. WP Simple Pay creates a new draft payment form pre-populated with the template’s settings.
  3. The form editor opens immediately so you can customize.

The newly created form is a fully independent copy — editing it does not affect the original template, and you can use the same template multiple times to create variations.

Step 5: Customize Your New Form

Treat the cloned form like any other:

Click Publish when ready, and embed the form on a page using the Payment Form Block or the shortcode.

When to Use a Template vs. Start from Scratch

Scenario Recommendation
First time building any payment form Use a template — even if it’s not a perfect fit
Standard donation, subscription, or product form Use a template
Highly bespoke flow with unusual field combinations Start from scratch (or template + heavy customization)
Region-specific payment method as the primary trigger Use the matching method-specific template
Reproducing an existing form’s structure Use the duplicate-form action on the existing form

よくある質問

Will using a template overwrite my existing forms?

No. Each template creates a brand new form. Your existing forms are untouched.

独自のテンプレートを作成できますか?

カスタムテンプレートは、現在のリリースでは管理UIからユーザーが作成することはできません。複数のフォーム間で構造を再利用するには、既存のフォームを複製してください。WP Simple Pay > 支払いフォームに移動し、フォームにカーソルを合わせて複製をクリックします。

希望するテンプレートがアップグレードを必要とするのはなぜですか?

一部のテンプレートは、Pro限定の機能(サブスクリプション、カスタムフィールド、税金、手数料回収、高度な支払い方法)を使用しています。プラグインは、フォームを作成する前に必要なライセンスティアを通知します。

テンプレートを削除できますか?

組み込みテンプレートは削除できません。これらはプラグインのデータファイルの一部であり、すべてのユーザーのデフォルトとして機能します。データベースのスペースを消費せず、使用時にのみJSONファイルからロードされます。

テンプレートはStripeの製品と価格を設定しますか?

テンプレートには推奨価格が含まれていますが、公開する前に実際の提供内容に合わせて必ず確認および更新してください。テンプレート内の金額はプレースホルダーです。

新しいテンプレートは時間とともに追加されますか?

はい。新しいテンプレートは、ほとんどの主要なWP Simple Payのリリースに含まれています。最近追加されたテンプレートは、メニューとテンプレートグリッドで新規!バッジが付いています。

次にやること

まだ質問がありますか?私たちが喜んでお手伝いします!

最終更新日:

今日から決済を受け付けましょう

WordPressウェブサイトで、単発および定期的な支払いまたは寄付の受け付けを開始しましょう。