Logo di Setup Boldpay

Setup Boldpay

Community
afu-it
setup-boldpay

Configura, sviluppa, correggi, revisiona e spiega le integrazioni di pagamento BOLD.Pay (di MACROKIOSK) usando le fonti ufficiali di BOLD.Pay (il codice sorgente del plugin WooCommerce di MACROKIOSK e le pagine dei prodotti), il reindirizzamento hosted PaymentRequest, MD5 AccessToken, il ritorno del browser CallbackURL, la richiesta POST server NotificationURL, la nuova interrogazione dello stato QueryRequest, PayID, CustIP, i codici valuta, i codici di errore da 400 a 500, la chiave API del portale BOLD.Pass e le restrizioni per dominio/IP, la configurazione sandbox (UAT) e live e il plugin WooCommerce. Usalo per lavorare con BOLD.Pay in Malaysia, pagamenti MACROKIOSK, boldpass.com, pay.etracker.cc, online banking FPX, carte, wallet, BNPL, OTC, addebiti tramite operatore, configurazione di BOLD.Pay per WooCommerce o OpenCart, liquidazione delle callback o preparazione alla messa in produzione.

Add to TypingMind

Panoramica

Pubblicato daafu-it
Repositorymalaysia-payment-gateway
Nome della skillsetup-boldpay
Stelle
74
Fork
11
File inclusi
4
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da afu-it su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Setup Boldpay in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-boldpay
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Setup Boldpay in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Setup Boldpay non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Setup Boldpay non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Setup Boldpay?

Configura, sviluppa, correggi, revisiona e spiega le integrazioni di pagamento BOLD.Pay (di MACROKIOSK) usando le fonti ufficiali di BOLD.Pay (il codice sorgente del plugin WooCommerce di MACROKIOSK e le pagine dei prodotti), il reindirizzamento hosted PaymentRequest, MD5 AccessToken, il ritorno del browser CallbackURL, la richiesta POST server NotificationURL, la nuova interrogazione dello stato QueryRequest, PayID, CustIP, i codici valuta, i codici di errore da 400 a 500, la chiave API del portale BOLD.Pass e le restrizioni per dominio/IP, la configurazione sandbox (UAT) e live e il plugi...

Perché usare Setup Boldpay su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Setup Boldpay è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Setup Boldpay in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-boldpay. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Setup Boldpay?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Setup Boldpay?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Setup Boldpay: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Setup Boldpay è gratuita?

È pubblicata su GitHub da afu-it. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇