Setup Boldpayのロゴ

Setup Boldpay

コミュニティ
afu-it
setup-boldpay

公式BOLD.Pay資料(MACROKIOSK WooCommerceプラグインのソースと製品ページ)を使って、BOLD.Pay(MACROKIOSK提供)の決済連携を設定、構築、デバッグ、レビュー、解説します。ホスト型PaymentRequestリダイレクト、MD5 AccessToken、CallbackURLによるブラウザーへのリダイレクト、NotificationURLへのサーバーPOST、QueryRequestによるステータス再照会、PayID、CustIP、通貨コード、400~500のエラーコード、BOLD.PassポータルのAPIキーとDomain/IP Restrictions、サンドボックス(UAT)と本番環境の設定、WooCommerceプラグインを扱います。BOLD.Pay Malaysia、MACROKIOSK決済、boldpass.com、pay.etracker.cc、FPXオンラインバンキング、カード、電子ウォレット、BNPL、OTC、キャリア決済、WooCommerceまたはOpenCartでのBOLD.Pay設定、コールバックによる入金処理、本番環境への移行準備を扱う際に使用してください。

Add to TypingMind

概要

公開者afu-it
リポジトリmalaysia-payment-gateway
スキル名setup-boldpay
スター
74
フォーク
11
同梱ファイル
4
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    afu-itがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Setup Boldpay」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-boldpay
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/afu-it/malaysia-payment-gateway.git /tmp/malaysia-payment-gateway
mkdir -p .claude/skills
cp -r /tmp/malaysia-payment-gateway/setup-boldpay .claude/skills/setup-boldpay
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSetup Boldpayを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSetup Boldpayを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Setup Boldpayは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

BOLD.Pay Payment Gateway

Use this skill for BOLD.Pay (MACROKIOSK) payment integration work.

Source

Read references/boldpay-api.md before giving factual API guidance or writing integration code. BOLD.Pay has no public API reference; that file is distilled from the official MACROKIOSK WordPress.org plugin source (v1.7.1) and lists the endpoint catalogue, every request and response field, the AccessToken algorithm, requery, status and error codes, and what is not documented.

Read references/account-setup.md when the user asks how to register, where the username and API key live, Domain/IP Restrictions, WooCommerce plugin setup, sandbox access, channels, pricing or settlement.

Read references/source-map.md when choosing which source file backs a fact, or to see coverage and gaps.

Core Workflow

  1. Identify environment: sandbox (uat.pay.etracker.cc) or live (pay.etracker.cc).
  2. Identify surface: WooCommerce plugin (use it as is), OpenCart/EasyStore plugin, or custom integration that mirrors the plugin protocol.
  3. Confirm portal setup: approved BOLD.Pass username, API key, and your domain and server IP in Domain/IP Restrictions.
  4. Create a local pending payment first with expected amount (2 decimals, ringgit), a new unique PayID, the CustIP you will send, and the callback and notification URLs used.
  5. Compute AccessToken server-side: UPPER(MD5(UPPER(Username + "4" + Amount + CustIP + PayID + CallbackURL + NotificationURL + ApiKey))).
  6. Redirect the browser to PaymentRequest? with all fields (URLs and text URL-encoded).
  7. On browser return or notification, recompute the token from stored values and compare (constant-time).
  8. Call QueryRequest server-side and read the result from the redirect Location query string.
  9. Check query TransactionID, OrderNumber, PayID match, then settle idempotently on query Status = SUCCESS.
  10. Reply OK to the notification POST.

Core Facts

  • Live payment page: https://pay.etracker.cc/BoldPayApi/PaymentRequest.
  • Sandbox payment page: https://uat.pay.etracker.cc/BoldPayApi/PaymentRequest.
  • Status query: https://pay.etracker.cc/BoldPayApi/QueryRequest (sandbox host uat.pay.etracker.cc; plugin uses http:// there, HTTPS also answers).
  • Create payment is a browser GET redirect with a query string, not a JSON API.
  • Request fields: AccessToken, Username, CustIP, PymtMethod (4), Amount, Description, CustName, CustEmail, CustPhone, OrderNumber, PayID, CallbackURL, NotificationURL, ApiKey, Origin, CurrencyCode.
  • CurrencyCode: 1 MYR, 3 THB.
  • Amount is ringgit with exactly 2 decimals, not sen.
  • AccessToken is uppercase hex MD5 of the uppercased concatenation; URLs are raw (not encoded) inside the hash.
  • Response fields: AccessToken, TransactionID, OrderNumber, PayID, Status, Reason, PymtMethod, IssuingBank.
  • Status values: SUCCESS, PENDING, FAIL, REFUNDED, REVERSED; rejected requests return a numeric error code instead.
  • Channel codes: CC, DD (online banking), WA (e-wallet), BNPL, OTC.
  • QueryRequest params: AccessToken, APIKey, Username, PayID, CallBackUrl (note casing).
  • Notification is a server POST; reply body OK.
  • API key lives in BOLD.Pass > Admin Management > Business Setting > API Key.
  • No refund, recurring, instalment-field or payout API is published.

Critical Rules

  • The response AccessToken is the request token echoed back. It does not sign Status and it was visible in the browser URL. Never settle from callback fields alone; always settle from QueryRequest.
  • Recompute the token from stored expected values (amount, CustIP, URLs), never from values in the callback.
  • Keep TLS verification on for QueryRequest (the plugin turns it off; do not copy that).
  • The API key appears in the payment URL by design. Lock it down with Domain/IP Restrictions and rotate it if leaked.
  • Generate a fresh PayID per attempt; reuse returns 416.
  • Send CustPhone as digits only.
  • Use one stable CustIP per payment and store it; the token breaks if it changes between request and callback.
  • Make settlement idempotent: browser return and notification both arrive for the same payment.
  • Never move a paid order back on a late PENDING or FAIL.
  • Do not quote fees, limits, or settlement times; they are per merchant agreement.

Completion Criteria

A BOLD.Pay integration is done only when:

  1. The token is built server-side and matches the documented order; a known-good sandbox payment succeeds.
  2. Local pending record stores PayID, amount, currency code, CustIP, callback and notification URLs.
  3. Callback and notification handlers recompute and compare the token in constant time.
  4. Every state change is confirmed by QueryRequest, with TransactionID, OrderNumber, PayID matched.
  5. Duplicate return plus notification settle once.
  6. Error-code returns (no AccessToken) leave the order unpaid and are logged.
  7. Tests cover bad token, wrong amount, query mismatch, FAIL, PENDING, REFUNDED, duplicate notification and SUCCESS.
  8. Deployment docs list BOLDPAY_USERNAME, BOLDPAY_API_KEY, BOLDPAY_ENV, callback and notification URLs, server IP, and the Domain/IP Restrictions step.

Loophole Review Loop

When asked whether a BOLD.Pay strategy is "100% confident", run this loop until no factual gaps remain:

  1. List trust boundaries: browser redirect URL, BOLD.Pay hosted page, callback return, notification receiver, QueryRequest call, database, fulfilment job, BOLD.Pass portal settings.
  2. Check bypasses: forged callback with a copied token, Status=SUCCESS without query, query skipped on FAIL, amount changed in the URL, reused PayID, changed callback URL breaking in-flight tokens, sandbox/live mix, TLS off on query, leaked API key, duplicate notification, late PENDING after SUCCESS, refund done in portal not reflected locally.
  3. Add fixes: stored-value token recompute, mandatory QueryRequest, strict field matching, unique PayID, per-payment stored URLs and IP, idempotent settlement, Domain/IP Restrictions, TLS on, refund/reversal handling.
  4. Re-read references/boldpay-api.md sections relevant to any gap.
  5. State remaining uncertainty: no public API guide, Origin value for custom integrations, PymtMethod meaning, notification retry policy, sandbox credentials, limits, refund process. Tell the user to confirm these with MACROKIOSK.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Setup Boldpay」では何ができますか?

公式BOLD.Pay資料(MACROKIOSK WooCommerceプラグインのソースと製品ページ)を使って、BOLD.Pay(MACROKIOSK提供)の決済連携を設定、構築、デバッグ、レビュー、解説します。ホスト型PaymentRequestリダイレクト、MD5 AccessToken、CallbackURLによるブラウザーへのリダイレクト、NotificationURLへのサーバーPOST、QueryRequestによるステータス再照会、PayID、CustIP、通貨コード、400~500のエラーコード、BOLD.PassポータルのAPIキーとDomain/IP Restrictions、サンドボックス(UAT)と本番環境の設定、WooCommerceプラグインを扱います。BOLD.Pay Malaysia、MACROKIOSK決済、boldpass.com、pay.etracker.cc、FPXオンラインバンキング、カード、電子ウォレット、BNPL、OTC、キャリア決済、WooCommerceまたはOpenCartでのBOLD.Pay設定、コールバックによる入金処理、本番環境への移行準備を扱う際に使用してください。

TypingMindでSetup Boldpayを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Setup Boldpayはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSetup Boldpayをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-boldpayを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Setup Boldpayを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Setup Boldpayで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSetup Boldpayを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Setup Boldpay」は無料ですか?

afu-itがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇